Page 1 of 1

Verbose incorrect colorspace info on Gray images

Posted: 2010-03-11T06:36:23-07:00
by markzman
Please check incorrect colorspace info for Grayscale images, see below result for a test gray image:

Image: test_alpha_gray.tif
Format: TIFF (Tagged Image File Format)
Class: DirectClass
Geometry: 1102x864+0+0
Resolution: 188.88x188.88
Print size: 5.83439x4.57433
Units: PixelsPerInch
Type: Grayscale
Base type: Grayscale
Endianess: MSB
Colorspace: RGB
Depth: 8-bit
Channel depth:
gray: 8-bit
Channel statistics:
gray:
min: 0 (0)
max: 255 (1)
mean: 145.7 (0.571372)
standard deviation: 51.0183 (0.200072)
kurtosis: -0.0532354
skewness: 0.096382

Re: Verbose incorrect colorspace info on Gray images

Posted: 2010-03-11T09:31:49-07:00
by fmw42
I may be wrong on this, but I believe you will only see RGB or CMYK for colorspace. You infer the colorspace as gray from the type=grayscale.