Giter Club home page Giter Club logo

gigapanconverter's Introduction

Gigapan-Downloader-and-stitcher

##Gigapan Panorama Downloader and offline stitcher to Photoshop PSB or TIFF.

This cross-platform Python 2.X script downloads gigapan pictures at the resolution specified and very fast stitch (assemble) with export to one big PSB (Photoshop Large Image file) or TIFF using Imagemagick.
Work in Windows and in any Linux.
Can resume download, downloaded tiles not reloaded. Will download all missing tiles

###How to run?

  1. Install Python 2.X (3.X is not supported) from python.org (Windows) or use "yum install python2.7" or similar command in Linux.
  2. Install Imagemagick from http://www.imagemagick.org/script/binary-releases.php#windows (Windows). I recommend install ImageMagick-*-x64-static.exe x64 version, if you have x64 OS. For Linux use "yum install imagemagick" or similar command.
  3. Download this script using "Save As" from https://raw.github.com/DeniR/Gigapan-Downloader-and-stitcher/master/gigapanDownloader.py
  4. Change path to montage.exe in gigapanDownloader.py (Windows, default is "C:\Program Files\ImageMagick-6.8.5-Q16\montage.exe") or change default /usr/bin/montage in Linux.
  5. Select outputformat in gigapanDownloader.py - psb for large gigapans (default) or tif.
  6. Run python gigapanDownloader.py <imageid> <level> in cmd or console. All tiles of the specified resolution level will be downloaded to <imageid> directory, and stitched gigapan will be exported to -giga.psb.

Example, http://www.gigapan.com/gigapans/130095
The <imageid> is 130095

python gigapanDownloader.py 130095 5
This will download the level 5 image tiles into directory "130095" and will make gigapan image "130095-giga.psb" Important: If you want to download the highest resolution level avaiable choose level 0

###Note

Gigapan site is very slow, also this script use only one thread. If you want to add multithreaded download - you are welcome. You can try with different resolution levels to see the size of the image that will be downloaded and choose the level you need, just remember to delete the downloaded tiles

gigapanconverter's People

Contributors

denir avatar martinber avatar tuipopenoe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.