Problem with MVG and transparency in IM 6.2.9 and later

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

Problem with MVG and transparency in IM 6.2.9 and later

Post by rmagick »

Not sure if this is a bug, but it sure is a change in behavior. In IM 6.2.8 this convert command produces an image of a red line on a transparent background. In 6.2.9 and later, the image has a black background:
  • convert -size 32x32 xc:none -draw @7189.mvg 7189.miff
This is the 7189.mvg file:

Code: Select all

push graphic-context
   push defs
      push clip-path -605215498
         push graphic-context
            path 'M0,0 l32,0 l0,32 l-32,0 l0,-32z'
         pop graphic-context
      pop clip-path
   pop defs
   clip-path -605215498
   stroke "red"
   push graphic-context
      line 8,8 24,24
   pop graphic-context
pop graphic-context
Please let me know if you need any more information.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

We can reproduce the problem you posted and will have a fix by tommorrow. Thanks.
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Post by rmagick »

Thanks for the speedy reply!
Post Reply