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

Thanks :)

Recommended Answers

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.