convert -draw image srcover broken since 7.0.2-5

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
alex.schneider
Posts: 2
Joined: 2016-06-03T04:36:05-07:00
Authentication code: 1151

convert -draw image srcover broken since 7.0.2-5

Post by alex.schneider » 2016-08-25T02:50:14-07:00

Compositing a partially transparent image over a solid background leaves the background untouched since https://github.com/ImageMagick/ImageMag ... 29b9e57523

We susspects that "- draw_info->alpha=OpaqueAlpha;" (MagickCore/draw.c:4957) should not have been removed.

The following commands works as expected with 7.0.2-4, but not with >= 7.0.2-5:

Code: Select all

convert -size 50x50 xc:transparent -draw 'rectangle 10,10 30,30' in.gif
convert -size 50x50 xc:red -draw 'image over 0,0 50,50 in.gif' out.gif

Post Reply