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.
rajurevuri
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Oct 26, 2009 5:52 am

Top

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.030 seconds, using GeSHi 1.0.8.4


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

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 20 guests