We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › how make a color become shall
Page Index Toggle Pages: 1
how make a color become shall (Read 506 times)
how make a color become shall
Nov 22nd, 2007, 8:09am
 
In group of  image, how make a color become shall?
I have used tint()  method ,but it affected on the contact surface all images.I only want to change a image.
Who can help me to solve this problem ,Thanks!
Re:  how make a color become shall
Reply #1 - Nov 22nd, 2007, 8:41am
 
You need to use noTint() to stop "tinting".

for example

PImage b;
b = loadImage("laDefense.jpg");
tint(0, 153, 204); // Tint blue
image(b, 0, 0);
noTint(); // Disable tint
image(b, 50, 0);

http://processing.org/reference/noTint_.html
Re:  how make a color become shall
Reply #2 - Nov 22nd, 2007, 9:50am
 
Thank you very much!
Why did I give it forget !
Re:  how make a color become shall
Reply #3 - Nov 25th, 2007, 2:58am
 
LOL
Page Index Toggle Pages: 1