# create linear gray, but gamma=0.4545 and not gamma=1
imbh convert xc:"gray(50%)" gray_linear.png
Code: Select all
Image: gray_linear.png
Format: PNG (Portable Network Graphics)
Mime type: image/png
Class: DirectClass
Geometry: 1x1+0+0
Units: Undefined
Type: Grayscale
Endianess: Undefined
Colorspace: Gray
Depth: 16/1-bit
Channel depth:
gray: 16-bit
Channel statistics:
Gray:
min: 32767 (0.499992)
max: 32767 (0.499992)
mean: 32767 (0.499992)
standard deviation: 0 (0)
kurtosis: 0
skewness: 0
Colors: 1
Histogram:
1: (32767,32767,32767) #7FFF7FFF7FFF gray(49.999237048905165182%)
Rendering intent: Undefined
Gamma: 0.45455
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Background color: gray(255)
Border color: gray(223)
Matte color: gray(189)
Transparent color: gray(0)
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 1x1+0+0
Dispose: Undefined
Iterations: 0
Compression: Zip
Orientation: Undefined
Properties:
date:create: 2013-10-15T16:05:16-07:00
date:modify: 2013-10-15T16:05:16-07:00
png:bKGD: chunk was found (see Background color, above)
png:cHRM: chunk was found (see Chromaticity, above)
png:gAMA: gamma=0.45455 (See Gamma, above)
png:IHDR.bit-depth-orig: 16
png:IHDR.bit_depth: 16
png:IHDR.color-type-orig: 0
png:IHDR.color_type: 0 (Grayscale)
png:IHDR.interlace_method: 0 (Not interlaced)
png:IHDR.width,height: 1, 1
png:text: 2 tEXt/zTXt/iTXt chunks were found
signature: a062f1b579409527e2ff138cd134ef5f124ff5de934c02151398d5742338cfb9
Artifacts:
filename: gray_linear.png
verbose: true
Tainted: True
Filesize: 240B
Number pixels: 1
Pixels per second: 1000TB
User time: 0.000u
Elapsed time: 0:01.000
Version: ImageMagick 6.8.7-1 2013-10-08 Q16 http://www.imagemagick.org
Has this linear vs non-linear for grayscale been removed so that all gray is non-linear and one then needs to follow it with -grayscale rec709luminance?