how remove one color from the Image

All your problems with Audio, Video and Images.

how remove one color from the Image

Postby rajurevuri » Mon Oct 26, 2009 6:18 am

Hi all,
I have Image with three colors,from that i want remove the one color.
I tried with setColorFilter(int color,mode) it is not working.
If u know plz help me out

I tried with setColorFilter(mycolor,PorterDuff.Mode.XOR); this is not working
Last edited by rajurevuri on Tue Oct 27, 2009 3:17 am, edited 1 time in total.
Once Poster
Once Poster
Posts: 1
Joined: Mon Oct 26, 2009 5:52 am


Postby azraeal » Mon Oct 26, 2009 6:08 pm

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. setColorFilter(yourColor, PorterDuff.Mode.XOR);
Parsed in 0.020 seconds, using GeSHi

This will remove the color of choice and the removed portion, I believe, will be transparent.
Experienced Developer
Experienced Developer
Posts: 71
Joined: Fri Sep 04, 2009 6:34 pm
Location: California


Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 12 guests