Page 1 of 1

feedback txt reporting colors for psd images and alpha

Posted: 2008-06-22T16:19:34-07:00
by fmw42
IM 6.4.1-10 Q16 non-hdri Mac OSX Tiger

Most of the issues reported in viewtopic.php?f=3&t=11522 have been fixed. However, there is still some odd behavior. Perhaps you can clarify for me why the following:

convert rose_rgb.psd -matte rose_rgba.psd
convert rose_rgba.psd[1x1+0+0] txt:-
# ImageMagick pixel enumeration: 1,1,255,rgb
0,0: ( 0,255,255) #00FFFF cyan

# ImageMagick pixel enumeration: 1,1,255,rgba
0,0: ( 54, 51, 45, 0) #36332D rgba(54,51,45,1)

Why this extraneous (and wrong) data above in red?


Likewise

convert rose_cmyk.psd -matte rose_cmyka.psd
convert rose_cmyka.psd[1x1+0+0] txt:-
# ImageMagick pixel enumeration: 1,1,255,cmyk
0,0: (255, 0, 0,255) #FF0000FF red

# ImageMagick pixel enumeration: 1,1,255,cmyka
0,0: (186,177,182,115, 0) #BAB1B673 cmyka(186,177,182,115,1)

Why this extraneous (and wrong) data above in red?

This only seems to happen for psd format.

Re: feedback txt reporting colors for psd images and alpha

Posted: 2008-06-22T17:24:02-07:00
by magick
PSD contains two sections, one with a set of layers and one as all the layers composited together. Try,
  • convert rose_rgb.psd -matte rose_rgba.psd
    convert rose_rgba.psd[1] rose.png
    convert rose_rgba.png[1x1+0+0] txt:-