Skip to content

An application to split the image into multiple tiles of different resolutions.

License

Notifications You must be signed in to change notification settings

avaneev95/ImageTiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Tiler

version license

This application splits the given image into multiple tiles of different resolutions. The generated tiles can be displayed using Google Maps, Leaflet or OpenLayers.

It also provides a simple preview file using Leaflet library.

Requirements

  • Java 8

Usage

  1. Download the runnable jar file ImageTiler.jar.
  2. Run
  3. Choose image
  4. Specify settings
  5. Generate tiles

Settings

  • Tile size - the size of smallest image chunk, default is 256.
  • Max zoom level - the max allowed zoom level of the image. Can be the integer number between 1 and 10, by default application will calculate the optimal zoom level based on image size and tile size.
  • Output directory - the directory where generated tiles will be saved. If the directory does not exist, it will be created. The tiles will be placed in a map subfolder.
  • Generate preview - whether is required to generate Leaflet preview file.
  • Preview height - the preview window height. Default is 720.
  • Preview width - the preview window width. Default is 720.

Limitations

  • Warning! It won't work with non square images!
  • It better works with square images which size is a power of two, ex.: 512x512 or 4096x4096.
  • It can run out of memory processing images large than 16384x16384 px.

TODO

  • Add support for non square images

License

MIT © Andrei Vaneev

About

An application to split the image into multiple tiles of different resolutions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published