possible miff or -alpha shape bug IM 6.9.6.2 Q16 Mac OSX

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

possible miff or -alpha shape bug IM 6.9.6.2 Q16 Mac OSX

Post by fmw42 »

From Anthony's page at http://www.imagemagick.org/Usage/masking/#alpha_shape, if saved to miff in IM 6.9.6.2, it does not work and one gets a black moon on transparency. If saved to mpc or png it works fine.

Input:
Image

IM 6.9.6.2

Code: Select all

convert moon.png -background red -alpha shape moon_red.miff

Code: Select all

convert moon.png -background red -alpha shape moon_red.mpc

Code: Select all

convert moon.png -background red -alpha shape moon_red.png

Also using IM 7.0.3.4 Q16, all three result is solid red.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible miff or -alpha shape bug IM 6.9.6.2 Q16 Mac OSX

Post by magick »

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible miff or -alpha shape bug IM 6.9.6.2 Q16 Mac OSX

Post by fmw42 »

Thanks
Post Reply