This cross-platform Python 3 script downloads Gigapan images at the resolution you specify, then stitches the tiles together using ImageMagick into one large JPG image.
- ✅ Works on Windows and Linux
- 🔁 Supports resume: already-downloaded tiles will be skipped
- 🧱 Only missing tiles are fetched — ideal for slow connections
- 🖼 Outputs a single trimmed JPEG file
-
Install Python 3.x
- Download from python.org for Windows
- On Linux: use your package manager (e.g.,
sudo apt install python3orsudo yum install python3)
-
Install ImageMagick
- Download for Windows
Recommended:ImageMagick-*-x64-static.exeif you have a 64-bit OS - On Linux:
sudo apt install imagemagickorsudo yum install imagemagick
- Download for Windows
-
Download the script
Save this file:
gigapanDownloader.py -
Set the path to ImageMagick
Edit the script to reflect your OS:imagemagick = "C:\\Program Files\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe" # Windows imagemagick = "/usr/bin/magick" # Linux
-
Run the script
python gigapanDownloader.py <imageid> <level>
<imageid>: the numeric ID from the Gigapan URL<level>: resolution level to download (use 0 for highest resolution)
Gigapan URL:
https://www.gigapan.com/gigapans/130095
Here, the image ID is 130095.
python gigapanDownloader.py 130095 5This will:
- Download tiles for level 5 into the folder
/130095 - Stitch them into a single image file:
130095.jpg
To download the highest resolution, use:
python gigapanDownloader.py 130095 0- Gigapan servers are often slow — be patient.
- This script uses a single-threaded downloader.
- Already-downloaded tiles will not be re-downloaded.
- To try a different level, delete the old tiles first.
- Only JPG output is supported by this version.