I need to remove a certain color, like for example, 0xFFFFFF (Color.White) would remove all the white in an image.

Thanks :)

Recommended Answers

What do you want to replace it with?

Jump to Post

All 4 Replies

What do you want to replace it with?

@Momerath, I'd like to delete the color, and then save it as a transparent png.

You should be able to use the BitMap.MakeTransparent and pass Color.White to it, then save the png.

@Momerath Oh, thanks. That was much easier than I thought. I Googled this, but I couldn't find anything, the one thing I did find though was in a different language. Thanks, anyways.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.