tile-geometry ignored in IM 7?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
beaudet
Posts: 6
Joined: 2017-09-15T06:24:22-07:00
Authentication code: 1151

tile-geometry ignored in IM 7?

Post by beaudet » 2017-09-15T07:40:07-07:00

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?

beaudet
Posts: 6
Joined: 2017-09-15T06:24:22-07:00
Authentication code: 1151

Re: tile-geometry ignored in IM 7?

Post by beaudet » 2017-09-15T09:23:30-07:00

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.

beaudet
Posts: 6
Joined: 2017-09-15T06:24:22-07:00
Authentication code: 1151

Re: tile-geometry ignored in IM 7?

Post by beaudet » 2017-09-19T08:02:38-07:00

the tile geometry in use can also be discovered using the tiffinfo command

Post Reply