possible bug string format channels
Posted: 2010-08-05T18:01:54-07:00
IM 6.6.3.2 Q16 Mac OSX Tiger.
If I do:
convert logo: -type grayscale -format "%[channels]" info:
gray
and
convert logo: -type grayscale -verbose info:
Shows:
Class: PseudoClass
Type: Grayscale
Base type: Grayscale
Colorspace: RGB
Depth: 8-bit
Channel depth:
gray: 8-bit
However, if I do
convert logo: -type grayscale logo_gray.png
convert logo_gray.png -format "%[channels]" info:
rgb
but
identify -verbose logo_gray.png
Shows exactly the same as above:
Class: PseudoClass
Type: Grayscale
Base type: Grayscale
Colorspace: RGB
Depth: 8-bit
Channel depth:
gray: 8-bit
I get the same rgb from the string format for channels when saving as tif or jpg
convert logo: -type grayscale logo_gray.tif
convert logo_gray.tif -format "%[channels]" info:
rgb
convert logo: -type grayscale logo_gray.jpg
convert logo_gray.jpg -format "%[channels]" info:
rgb
Is this a bug or am I misunderstanding something with regard to the string format [channels]?
Does only IM internal formats recognize the channels as gray?
If I do:
convert logo: -type grayscale -format "%[channels]" info:
gray
and
convert logo: -type grayscale -verbose info:
Shows:
Class: PseudoClass
Type: Grayscale
Base type: Grayscale
Colorspace: RGB
Depth: 8-bit
Channel depth:
gray: 8-bit
However, if I do
convert logo: -type grayscale logo_gray.png
convert logo_gray.png -format "%[channels]" info:
rgb
but
identify -verbose logo_gray.png
Shows exactly the same as above:
Class: PseudoClass
Type: Grayscale
Base type: Grayscale
Colorspace: RGB
Depth: 8-bit
Channel depth:
gray: 8-bit
I get the same rgb from the string format for channels when saving as tif or jpg
convert logo: -type grayscale logo_gray.tif
convert logo_gray.tif -format "%[channels]" info:
rgb
convert logo: -type grayscale logo_gray.jpg
convert logo_gray.jpg -format "%[channels]" info:
rgb
Is this a bug or am I misunderstanding something with regard to the string format [channels]?
Does only IM internal formats recognize the channels as gray?