6.4.8-6 Problem with opacity in MVG

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
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

6.4.8-6 Problem with opacity in MVG

Post by rmagick »

The following MVG program produces this image in 6.4.7-10:
Image
but produces this image in 6.4.8-6:
Image

Actually I don't think this problem was in 6.4.8-5 but I don't have that version installed to test. In any case, it was introduced quite recently. I ran both tests on the same Ubuntu 8.10 system. Please let me know if you need any more information.

Code: Select all

fill "black"
rectangle 10,20 250,90
stroke "blue"
fill "yellow"
stroke-width 10
opacity 25%
roundrectangle 20,20,60,90,5,5
opacity 50%
roundrectangle 80,20,120,90,5,5
opacity 0.75
roundrectangle 140,20,180,90,5,5
opacity 1
roundrectangle 200,20,240,90,5,5
font-weight normal
font-style normal
stroke "transparent"
fill "black"
gravity south
text -90,15 "25%"
text -30,15 "50%"
text 30,15 "75%"
text 90,15 "100%"
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: 6.4.8-6 Problem with opacity in MVG

Post by magick »

We can reproduce the problem you reported and have a patch in ImageMagick 6.4.8-7 Beta available sometime tomorrow. Thanks.
jorlando

Re: 6.4.8-6 Problem with opacity in MVG

Post by jorlando »

Will 6.4.8-7 also fix the closely related issue I described in viewtopic.php?f=3&t=12893 (last post) ?

Thx
Jeff
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: 6.4.8-6 Problem with opacity in MVG

Post by magick »

The opacity patch was corrupted when it was added to Subversion. It should be fixed in 6.4.8-7 Beta now.
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Re: 6.4.8-6 Problem with opacity in MVG

Post by rmagick »

I see the opacity problem is fixed in 6.4.8-7. Thanks! However the type rendering is still broken. Here's the image produced by 6.4.7-10:
Image
Here's the image produced by 6.4.8-7:
Image

The command I used to produce this image is:

Code: Select all

convert -size 260x125 opacity_test.mvg test_6.4.8-7.png
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: 6.4.8-6 Problem with opacity in MVG

Post by magick »

We can reproduce the problem you reported and have a patch. Look for it in ImageMagick 6.4.8-8 Beta by sometime tomorrow. Thanks.
Post Reply