IS it possible to change color of image from code ?
-
change image's color like when open image in MAC and change color from Tools->Adjust Coloruser471416– user4714162010-10-19 14:59:59 +00:00Commented Oct 19, 2010 at 14:59
-
I think you might need to be a little bit more specific about what you mean. Do you want to access individual color pixels or draw a new image programattically? Be very specific.twerdster– twerdster2010-10-19 15:00:07 +00:00Commented Oct 19, 2010 at 15:00
-
I just want to change image's color like when we change image's color from MACSajjadZare– SajjadZare2010-10-19 15:05:23 +00:00Commented Oct 19, 2010 at 15:05
Add a comment
|
2 Answers
What do u mean by change color of image? u can change the UIImageView's image in code by using imageView.image = [UIImage imageNamed:@"myImage.png"]; where the myImage.png is in ur project's Resource folder. Or u can use [imageView setBackgroundColor:[UIColor redColor]]; to set ur UIImageView to red color.
2 Comments
SajjadZare
I know that.i want to change image's color and save the image
sbs
oh sry i don't know how to do that neither.