Hi,
I'm using ImageMagick for exporting tiles layer for map (like openstreetmap). It works well :
Code: Select all
convert "zoom12.png" -crop 256x256 ^
-set filename:tile "%%[fx:page.x/256+2064]_%%[fx:page.y/256+1401]" ^
+repage +adjoin "%%[filename:tile].png"
But sometimes, my image ('zoom12.png' in my exemple) has large 'empty' zone (full transparent). So when the crop export do his job, it export a lots off empty tiles ( like exporting 1k tiles of rgba(0,0,0,0)). It is not a big problem but is there a way to skip exporting them (time saving export + ftp transfert) ? Or a way to have a checker/cleaner to delete this empty tiles ?
Anyway thanks to ImageMagick project/community.
@ImageMagick-6.8.7-5 Windows