tileImage - tile large images into small tile images
tileImage [options] [file ...]
Options:
-help brief help message -json create json file in the each directories. -script create javascript file for div block and an example code. -exif create exif file of the original file. -quality quility number for jpeg compressing. Default is 90. -h,-height tile height. Default is 256. -w,-width tile width Default is 256. -q,-quiet quiet mode (no messages)
tileImage is a perl script to divide large files into tiles. This script is a part of TiledImage system. The input file shuld be in .png, .jpg and .p[bgpna]m types. This script creates a directory named as the same with the the original image without extensions and all the tiles are placed in the directory. The directory structure will be the following:
+-+ original/ | +-+ z0/ | | +-- 0_0.jpg | | | +-+ z1/ | | +-- 0_0.jpg | | +-- 0_1.jpg | | +-- 1_0.jpg | | \-- 1_1.jpg | | | +-+ z2/ | | | +-+ z3/ | | | +-- (original.exif) | +-- (data.json) | \-- (inc.js) | \-- original.jpg
zX/ directories are zoom directory. When increasing one zoom level means the zoom images twice larger. The maximum zoom level has the same resolution with the original. If you use jpeg file as a original file. The maximum zoom levels tile created by jpeg lossless transform.
The z0 is the smallest zoom level and has only one tile.
show this help.
JSON data for the original whole image. The file name is B<data.json>. The JSON format is the following:
{
string: name of the image.
string: "z${z}/${x}_${y}.jpg",
integer: original width of the image
integer: original height of the image
integer: tile width
integer: tile height
integer: the maximum zoom level
}
Quiality number of jpeg compressing. The range is 1-100. The default is 90.
tile height in pixel. default is 256. If you specified non multiple of 8 and input file is JPEG, the lossless transform for maximum level tiles becomes lossy transform.
tile width in pixel. default is 256. If you specified non multiple of 8 and input file is JPEG, the lossless transform for maximum level tiles becomes lossy transform.
create javascript for div block and code. The file name is B<inc.js>
quiet mode.
pamdice(1)