How to replace black with red in a PNG?

All your problems with Audio, Video and Images.

How to replace black with red in a PNG?

Postby E-Nature » Tue Aug 30, 2011 2:53 am

How can I replace the black color in a bitmap with red (or any other color) programmatically in Android (ignoring transparency)? I can replace the white color in the bitmap with a color already but it somehow does not work if I want to replace black with a color.

Thanks for any help.
--
Cheat-Database for Android (+50'000 Downloads already)
https://market.android.com/details?id=com.cheatdatabase.android
User avatar
E-Nature
Experienced Developer
Experienced Developer
 
Posts: 93
Joined: Mon Nov 16, 2009 3:39 pm

Top

Re: How to replace black with red in a PNG?

Postby OzLark » Thu Sep 01, 2011 10:52 am

Post some code and we might be able to help.
OzLark
Junior Developer
Junior Developer
 
Posts: 23
Joined: Sat Jul 09, 2011 7:26 am

Re: How to replace black with red in a PNG?

Postby vishal.trivedi » Wed Nov 23, 2011 11:00 am

hii

if you hv answr by any chance plz let me knw...
thnx
vishal.trivedi
Junior Developer
Junior Developer
 
Posts: 16
Joined: Wed Sep 28, 2011 4:21 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 14 guests