Input image:
http://www.brandnex.com/wristbands/test ... d_none.png
identify -verbose shows it as linear
Gamma: 1
Background color: gray(255)
Border color: gray(223)
Matte color: gray(189)
Transparent color: gray(0)
Interlace: None
Intensity: Rec709Luminance
But my attempts to change the colorspace to non-linear (gamma=0.4545) do not work. None of the following work:
Code: Select all
convert hw_180_wristband_none.png -colorspace gray tmp1.png
convert hw_180_wristband_none.png -colorspace rec709luma tmp2.png
convert hw_180_wristband_none.png -grayscale rec709luma tmp3.png
convert hw_180_wristband_none.png -colorspace sRGB tmp4.png
Note convert the same way to JPG works fine and produces gamma=0.4545. But strangely the darkness/lightness of the gray is unchanged. So I think the original PNG was properly non-linear, but the labels for gamma and intensity may be mislabeled(?).
convert hw_180_wristband_none.png -colorspace gray hw_180_wristband_none.jpg
Reference to topic viewtopic.php?f=1&t=26575#p117142