Page 1 of 1

6.4.8-6 Problem with opacity in MVG

Posted: 2009-01-18T16:59:36-07:00
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%"

Re: 6.4.8-6 Problem with opacity in MVG

Posted: 2009-01-18T17:55:10-07:00
by magick
We can reproduce the problem you reported and have a patch in ImageMagick 6.4.8-7 Beta available sometime tomorrow. Thanks.

Re: 6.4.8-6 Problem with opacity in MVG

Posted: 2009-01-18T22:12:40-07:00
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

Re: 6.4.8-6 Problem with opacity in MVG

Posted: 2009-01-19T06:59:51-07:00
by magick
The opacity patch was corrupted when it was added to Subversion. It should be fixed in 6.4.8-7 Beta now.

Re: 6.4.8-6 Problem with opacity in MVG

Posted: 2009-01-20T07:56:03-07:00
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

Re: 6.4.8-6 Problem with opacity in MVG

Posted: 2009-01-20T10:14:56-07:00
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.