Using RMagick matte_floodfill randomly loses transparency on Gentoo
Posted: 2015-04-06T19:22:23-07:00
Hello,
Not sure if it's RMagick or ImageMagick problem..
I have an image with transparent background.
When running following operations:
On OSX I am getting an image with transparent background. When run on Gentoo system, I am sometimes (50% of times) getting image with white background. Expected behaviour is that it should stay transparent.
More details here:
https://github.com/redbubble/matte_floodfill_problem
https://github.com/gemhome/rmagick/issues/187
Thank you for help
Greg
Not sure if it's RMagick or ImageMagick problem..
I have an image with transparent background.
When running following operations:
Code: Select all
image = Magick::Image.read('input.png').first
img = image.channel(Magick::OpacityChannel)
img.matte_floodfill(0, 0).write('result.png')
More details here:
https://github.com/redbubble/matte_floodfill_problem
https://github.com/gemhome/rmagick/issues/187
Thank you for help
Greg