How to remove a png file’s background using Paint.NET

colorsimagespng

I have a PNG file that is composed of only two colors: white and dark. Majority of image space is occupied by the white color but I want to remove this white color, thus giving the image a transparent background. I am using Paint.NET and manually erasing just results in an awkward untidy picture. Here comes the image:
Example image

Can I do it in paint.NET? Or is there a let's say programmatic way (e.g. using MATLAB) to do it easily?

Best Answer

The Magic wand is your friend. I could supply you with a completed PNG but I'd rather show you how to do it

enter image description here

Things of note? Use the contiguous not global setting. Play with the tolerances - I went with 70 percent to knock some of the antialising off. I picked a larger area to work on but you can/should just zoom in when working. Having a black background layer is a nice way to check if your cropping is fine.

Related Question