possible bug ptif tile -define IM 6.7.4.7 Q16
Posted: 2012-01-18T12:48:40-07:00
IM 6.7.4.7 Q16 Mac OSX Snow Leopard
In reference to: viewtopic.php?f=1&t=20193&p=80040#p80026
I am no expert on PTIF, but it looks to me like the -define for the tile size is not working. I would expect the last level to be the tile size. Correct me if I am wrong.
convert -size 1024x1024 gradient: grad1024.png
convert grad1024.png -define tiff:tile-geometry=128x128 ptif:grad1024.tif
identify grad1024.tif
grad1024.tif[0] TIFF 1024x1024 1024x1024+0+0 16-bit Grayscale DirectClass 42.7KB 0.000u 0:00.000
grad1024.tif[1] TIFF 512x512 512x512+0+0 16-bit Grayscale DirectClass 42.7KB 0.000u 0:00.000
grad1024.tif[2] TIFF 256x256 256x256+0+0 16-bit Grayscale DirectClass 42.7KB 0.000u 0:00.000
grad1024.tif[3] TIFF 128x128 128x128+0+0 16-bit Grayscale DirectClass 42.7KB 0.000u 0:00.000
grad1024.tif[4] TIFF 64x64 64x64+0+0 16-bit Grayscale DirectClass 42.7KB 0.000u 0:00.000
I also get the same results from using -define tiff:tile-geometry=256x256
So it looks to me like it is creating tiles of 64x64, which may be the default and thus the -define is not working or not documented correctly.
In reference to: viewtopic.php?f=1&t=20193&p=80040#p80026
I am no expert on PTIF, but it looks to me like the -define for the tile size is not working. I would expect the last level to be the tile size. Correct me if I am wrong.
convert -size 1024x1024 gradient: grad1024.png
convert grad1024.png -define tiff:tile-geometry=128x128 ptif:grad1024.tif
identify grad1024.tif
grad1024.tif[0] TIFF 1024x1024 1024x1024+0+0 16-bit Grayscale DirectClass 42.7KB 0.000u 0:00.000
grad1024.tif[1] TIFF 512x512 512x512+0+0 16-bit Grayscale DirectClass 42.7KB 0.000u 0:00.000
grad1024.tif[2] TIFF 256x256 256x256+0+0 16-bit Grayscale DirectClass 42.7KB 0.000u 0:00.000
grad1024.tif[3] TIFF 128x128 128x128+0+0 16-bit Grayscale DirectClass 42.7KB 0.000u 0:00.000
grad1024.tif[4] TIFF 64x64 64x64+0+0 16-bit Grayscale DirectClass 42.7KB 0.000u 0:00.000
I also get the same results from using -define tiff:tile-geometry=256x256
So it looks to me like it is creating tiles of 64x64, which may be the default and thus the -define is not working or not documented correctly.