Created
April 23, 2012 19:22
-
-
Save raedatoui/2473221 to your computer and use it in GitHub Desktop.
pyramid tiles using imagemagick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert image.tif -resize 1.5625% -crop 256x256 +repage +adjoin out/1/tile_1_%d.jpg | |
convert image.tif -resize 3.125% -crop 256x256 +repage +adjoin out/2/tile_2_%d.jpg | |
convert image.tif -resize 6.25% -crop 256x256 +repage +adjoin out/3/tile_3_%d.jpg | |
convert image.tif -resize 12.5% -crop 256x256 +repage +adjoin out/4/tile_4_%d.jpg | |
convert image.tif -resize 25% -crop 256x256 +repage +adjoin out/5/tile_5_%d.jpg | |
convert image.tif -resize 50% -crop 256x256 +repage +adjoin out/6/tile_6_%d.jpg | |
convert image.tif -crop 256x256 +repage +adjoin out/7/tile_7_%d.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment