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.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2017-03-25T11:03:50-07:00
IM 6.9.8-3 Q16 and IM 7.0.5.4 Q16 Mac OSX
When converting logo: to PCD and then PCD to PNG, the color of the result is showing gray where it should be white.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2017-03-25T11:38:28-07:00
I just noticed that identify -verbose logo.pcd says the colorspace is YCC. However doing
Code: Select all
convert logo.pcd -colorspace sRGB logo_pcd2.png
Still makes no difference.
GeeMack
Posts: 718 Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA
Post
by GeeMack » 2017-03-25T13:26:31-07:00
Using IM 7.0.5-3 HDRI static on Windows 10 64, I ran the commands from the opening post, only instead of "convert" I used "magick" of course. The commands...
This is the result...
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2017-03-25T13:47:00-07:00
Odd. That is quite different. But I note that when I did the convert/magick, they both looked the same as my example above. But when I did an IM display logo.pcd. It was also pinkish. I assumed that was due to the YCC colorspace issue.
Do you still get this same result from
Code: Select all
magick logo.pcd -colorspace sRGB logo_pcd.png
GeeMack
Posts: 718 Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA
Post
by GeeMack » 2017-03-25T14:05:47-07:00
fmw42 wrote: ↑ 2017-03-25T13:47:00-07:00 Do you still get this same result from
Code: Select all
magick logo.pcd -colorspace sRGB logo_pcd.png
That produces a result nearly identical to the one I posted above.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2017-03-26T11:28:03-07:00
The result is white with IM 7.0.5.5 beta. So it seems to be fixed when doing
Code: Select all
im7beta magick logo: logo.png
im7beta magick logo.png logo.pcd
im7beta magick logo.pcd -colorspace sRGB logo_pcd_new.png
The output is 768 × 512 per PCD format and the input was 640x480, so there is a grayish pad outside the logo region to fill to 768 × 512.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2017-03-26T12:13:01-07:00
P.S. One can use -bordercolor to adjust the color of the padding.