Page 1 of 1

tile-geometry ignored in IM 7?

Posted: 2017-09-15T07:40:07-07:00
by beaudet
Installed ImageMagick-7.0.7-2.x86_64.rpm and ImageMagick-libs-7.0.7-2.x86_64.rpm into RHEL7

magick -size 1024x1024 canvas:khaki canvas.jpg
magick canvas.jpg -define tiff:tile-geometry=256x256 ptif:canvas.tif

identify canvas.tif

produces

canvas.tif[0] TIFF 1024x1024 1024x1024+0+0 8-bit sRGB 4.314MiB 0.000u 0:00.000
canvas.tif[1] TIFF 512x512 512x512+0+0 8-bit sRGB 4.314MiB 0.000u 0:00.000
canvas.tif[2] TIFF 256x256 256x256+0+0 8-bit sRGB 4.314MiB 0.000u 0:00.000
canvas.tif[3] TIFF 128x128 128x128+0+0 8-bit sRGB 4.314MiB 0.000u 0:00.000
canvas.tif[4] TIFF 64x64 64x64+0+0 8-bit sRGB 4.314MiB 0.000u 0:00.000

So it seems that either the tile geometry is being ignored and a default of 64x64 is being used or that IM is producing pages smaller than the tile size which I wouldn't expect. Any insight into this? Is there any way to use IM to report the tile size of the pyramid after creation?

Re: tile-geometry ignored in IM 7?

Posted: 2017-09-15T09:23:30-07:00
by beaudet
I was able to verify using IIP Image server that the tile-geometry parameter is being honored. The fact that additional pages are being created is probably not a big deal since the resolution is so low. It would still be nice to know of a way to report on the tile geometry of a pyramidal tiff though if anyone knows how to do that with ImageMagick tools.

Re: tile-geometry ignored in IM 7?

Posted: 2017-09-19T08:02:38-07:00
by beaudet
the tile geometry in use can also be discovered using the tiffinfo command