Search found 3 matches

by jeroen511
2019-06-22T02:47:45-07:00
Forum: Users
Topic: removing white background and have transparency instead of jagged edges
Replies: 3
Views: 6669

Re: removing white from background while preserving transparency

got it after some fiddling! Magick::Image img = Magick::Image("img.png"); img.negate(false); Magick::Image imgBlack = img; imgBlack.colorize(100, Magick::ColorRGB(0, 0, 0)); imgBlack.alphaChannel(AlphaChannelOption::OffAlphaChannel); Magick::Image imgResult = imgBlack; imgResult.composite(...
by jeroen511
2019-06-21T14:35:51-07:00
Forum: Users
Topic: removing white background and have transparency instead of jagged edges
Replies: 3
Views: 6669

Re: removing white from background while preserving transparency

That's exactly it, thank you Snibgo!
Now I want to convert it to C++, but I'm not sure how to do this one, but more complex than I thought. Do you know to write that down?
by jeroen511
2019-06-21T14:00:22-07:00
Forum: Users
Topic: removing white background and have transparency instead of jagged edges
Replies: 3
Views: 6669

removing white background and have transparency instead of jagged edges

Hello, I'm trying to remove the background from this image: https://i.imgur.com/Xk9Wza0.png I've read many forum posts where they use -transparent white, or replace the color with -opaque in combination with fuzz. but the problem is that you'll always end up with jagged edges. I want to make all whi...