possible bug write linear gray formats IM 6.8.7.2
Posted: 2013-10-24T12:11:03-07:00
I am getting saved output images in various formats from a linear gray image that all show gamma=0.4545 rather than gamma=1.
Do JPG, TIFF, GIF store a gamma value in their formats?
convert rose: -colorspace sRGB -intensity rec709luminance -colorspace gray rose1.jpg
Gamma: 0.454545
convert rose: -colorspace sRGB -intensity rec709luminance -colorspace gray rose1.gif
Gamma: 0.454545
convert rose: -colorspace sRGB -intensity rec709luminance -colorspace gray rose1.tiff
Gamma: 0.454545
Even PGM shows gamma=0.4545. I was under the impression that PGM was a linear gray format.
convert rose: -colorspace sRGB -intensity rec709luminance -colorspace gray rose1.pgm
Gamma: 0.454545
Should that not show gamma=1?
Do JPG, TIFF, GIF store a gamma value in their formats?
convert rose: -colorspace sRGB -intensity rec709luminance -colorspace gray rose1.jpg
Gamma: 0.454545
convert rose: -colorspace sRGB -intensity rec709luminance -colorspace gray rose1.gif
Gamma: 0.454545
convert rose: -colorspace sRGB -intensity rec709luminance -colorspace gray rose1.tiff
Gamma: 0.454545
Even PGM shows gamma=0.4545. I was under the impression that PGM was a linear gray format.
convert rose: -colorspace sRGB -intensity rec709luminance -colorspace gray rose1.pgm
Gamma: 0.454545
Should that not show gamma=1?