-depth option not working for tiff images
Posted: 2009-05-05T17:21:18-07:00
I am unable to generate tif files with 8bit samples using 6.5.1.0 This was working using version 6.4.8.3
converting to a png correctly recognizes the -depth option.
This problem was also present before 6.5.1, in 6.4.2 (I think) so this is a definite regression.
$ convert --version
Version: ImageMagick 6.5.1-0 2009-05-05 Q16 HDRI OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
$ identify hrp_blur.tif
hrp_blur.tif TIFF 5100x6600 5100x6600+0+0 32-bit Grayscale DirectClass 128.5mb
$ convert hrp_blur.tif -depth 8 hrp_blur1-a.tif
$ identify hrp_blur1-a.tif
hrp_blur1-a.tif TIFF 5100x6600 5100x6600+0+0 32-bit Grayscale DirectClass 128.5mb
$ convert hrp_blur.tif -depth 8 hrp_blur1-a.png
$ identify hrp_blur1-a.png
hrp_blur1-a.png PNG 5100x6600 5100x6600+0+0 8-bit DirectClass 2.19mb
converting to a png correctly recognizes the -depth option.
This problem was also present before 6.5.1, in 6.4.2 (I think) so this is a definite regression.
$ convert --version
Version: ImageMagick 6.5.1-0 2009-05-05 Q16 HDRI OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
$ identify hrp_blur.tif
hrp_blur.tif TIFF 5100x6600 5100x6600+0+0 32-bit Grayscale DirectClass 128.5mb
$ convert hrp_blur.tif -depth 8 hrp_blur1-a.tif
$ identify hrp_blur1-a.tif
hrp_blur1-a.tif TIFF 5100x6600 5100x6600+0+0 32-bit Grayscale DirectClass 128.5mb
$ convert hrp_blur.tif -depth 8 hrp_blur1-a.png
$ identify hrp_blur1-a.png
hrp_blur1-a.png PNG 5100x6600 5100x6600+0+0 8-bit DirectClass 2.19mb