Transparency: Cutting Out Bordered Objects
Posted: 2015-05-12T04:23:03-07:00
Dear All,
I have images enclosed with a black anti-aliased edge on a white background. I have been reading the tutorials on how to remove the white background (only surrounding the image) and make it transparent, and have found http://www.imagemagick.org/Usage/masking/#bg_remove. However, i have the same problems with the floodfill as identified there, i end up with some bordering almost-white pixels.
Then i read in the next section, http://www.imagemagick.org/Usage/masking/#border_cut. It sounds very promising and applicable to my situation. If i can tell imageMagick that my background is white and the border black, it'll know how to deal with the fuzzy edges perfectly. However, sadly this section is under construction. How can I achieve this?
Sample image can be found here:
https://www.dropbox.com/s/yzexsn2sn5qvn ... 0.png?dl=0
https://www.dropbox.com/s/1v8k2bhw3mnff ... 0.png?dl=0
I am running the latest ImageMagick on windows 8.1 64bit: ImageMagick 6.9.1-2 Q16 x64 2015-04-14.
Thank you for your time and all the best!
I have images enclosed with a black anti-aliased edge on a white background. I have been reading the tutorials on how to remove the white background (only surrounding the image) and make it transparent, and have found http://www.imagemagick.org/Usage/masking/#bg_remove. However, i have the same problems with the floodfill as identified there, i end up with some bordering almost-white pixels.
Then i read in the next section, http://www.imagemagick.org/Usage/masking/#border_cut. It sounds very promising and applicable to my situation. If i can tell imageMagick that my background is white and the border black, it'll know how to deal with the fuzzy edges perfectly. However, sadly this section is under construction. How can I achieve this?
Sample image can be found here:
https://www.dropbox.com/s/yzexsn2sn5qvn ... 0.png?dl=0
https://www.dropbox.com/s/1v8k2bhw3mnff ... 0.png?dl=0
I am running the latest ImageMagick on windows 8.1 64bit: ImageMagick 6.9.1-2 Q16 x64 2015-04-14.
Thank you for your time and all the best!