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
Verbose incorrect colorspace info on Gray images
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Verbose incorrect colorspace info on Gray images
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.