bug in -alpha background IM 6.5.2-9

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

bug in -alpha background IM 6.5.2-9

Post by fmw42 »

IM 6.5.2-9 Q16 Mac OSX Tiger.

Either of these worked fine in 6.5.2-8:
convert \( -size 200x200 xc:black \) \
\( -size 100x100 xc:white \) \
-gravity center -compose over -composite \
-alpha copy \
-background red -alpha background \
tmp_alpha2_red.png

or
convert \( -size 200x200 xc:black \) \
\( -size 100x100 xc:white \) \
-gravity center -compose over -composite \
+clone -compose copy_opacity -composite \
-background red -alpha background \
tmp_alpha2_red.png

Image

but produces this in IM 6.5.2-9:
Image
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: bug in -alpha background IM 6.5.2-9

Post by magick »

Anthony filed a bug report and we added a patch which we think addressed the issue. Find out if you and Anthony have different ideas about how -alpha background should work or if we applied the wrong patch.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: bug in -alpha background IM 6.5.2-9

Post by fmw42 »

OK. I have PMed Anthony about this to see what his viewpoint is. I liked having the transparent part go to background as before in IM 6.5.2-8. We will let you know once I hear back from him.

Fred
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: bug in -alpha background IM 6.5.2-9

Post by fmw42 »

Go with what Anthony wants as there are other ways to get this functionality using -fill ... -opaque none

But see my new bug report at viewtopic.php?f=3&t=13854 which may be related
Post Reply