[RESOLVED]possible bug -grayscale rec709luminance 6.8.7.0
Posted: 2013-10-04T15:17:42-07:00
Code: Select all
convert -version
Version: ImageMagick 6.8.7-0 2013-09-26 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC
Delegates: bzlib fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps png tiff x xml zlib
There appears to be an inconsistency between the IM reported gamma in the verbose information and the PNG gamma. This goes back as far as I can test to 6.8.7.9.
convert rose: -grayscale rec709luminance rose_tmp.png
gamma=0.4545 <---- should be 1
But the PNG info shows gamma=1
Properties:
date:create: 2013-10-04T15:11:22-07:00
date:modify: 2013-10-04T15:11:22-07:00
png:bKGD: chunk was found (see Background color, above)
png:gAMA: gamma=1 (See Gamma, above)
png:IHDR.bit-depth-orig: 8
png:IHDR.bit_depth: 8
png:IHDR.color-type-orig: 0
png:IHDR.color_type: 0 (Grayscale)
png:IHDR.interlace_method: 0 (Not interlaced)
png:IHDR.width,height: 70, 46
png:text: 2 tEXt/zTXt/iTXt chunks were found
signature: b9e4563ff80920640476d2955c0d9e962912a4af5571fe3056b56f1e167d2ea2
Note that using miff output produces the correct gamma=1
convert rose: -grayscale rec709luminance rose_luminance.miff
Gamma: 1