CaelanBorowiec / pyTiler

Cartographic image cutter and code generator for use with Google StreetView's third-party API and any 360x180° panoramic image

Home Page:https://developers.google.com/maps/documentation/javascript/examples/streetview-custom-simple

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyTiler batch image cutter

pyTiler is a lightweight application designed to perform recursive image tiling tasks for use with Google's custom StreetView API. Features: pyTiler accepts a directory path and will process the images inside according to options specified at runtime. Each image will be sized, cut, and saved into the tiles needed for an Ultra-HD Google StreetView sphere.

Dependencies

Usage

  1. Run the program (compiled exe or .py)
  2. Select the folder with images to be batch processed.
  3. Select a processing option for the images:
    • 1: Automatic, pyTiler will use highest quality mode.
    • 2: Prompt, pyTiler will ask what to do for each image.
    • 3: One Size, pyTiler will scale all images to the same size before tiling, making sure all tiles are the same size for the entire batch job.
  4. Generate data? Enter "y" (default) here to generate the JavaScript code needed to use the image tiles with Google StreetView.
  5. Review and accept the prompts.

Demo

Turn an image like this, into a whole bunch of tiles like this. You can then use those tiles to create a streetview sphere like this.

About

Cartographic image cutter and code generator for use with Google StreetView's third-party API and any 360x180° panoramic image

https://developers.google.com/maps/documentation/javascript/examples/streetview-custom-simple


Languages

Language:Python 100.0%