feedback txt reporting colors for psd images and alpha

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

feedback txt reporting colors for psd images and alpha

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: feedback txt reporting colors for psd images and alpha

Post 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:-
Post Reply