Page 1 of 1

Cannot produce grayscale PSDs

Posted: 2009-09-21T04:46:16-07:00
by axelrose

Re: Cannot produce grayscale PSDs

Posted: 2009-09-21T10:22:52-07:00
by fmw42
The image colorspace is RGB, but all channels are gray. See Type: Grayscale below

convert rose: -colorspace gray psd:rose.psd

identify -verbose rose.psd
Image: rose.psd
Format: PSD (Adobe Photoshop bitmap)
Class: DirectClass
Geometry: 70x46+0+0
Resolution: 72x72
Print size: 0.972222x0.638889
Units: Undefined
Type: Grayscale
Base type: Grayscale
Endianess: Undefined
Colorspace: RGB
Depth: 8-bit
Channel depth:
gray: 8-bit
Channel statistics:
gray:

min: 37 (0.145098)
max: 255 (1)
mean: 105.14 (0.412313)
standard deviation: 47.3907 (0.185846)


convert rose: -type grayscale rose.pdf

produces the same results.

I don't know if either of these are bugs or not. I might expect the colorspace to be gray and in the latter to get a class of Grayscale or Palette?