Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-21-2010, 06:22 PM   #11 (permalink)
dljeffery
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Jan 2010
Location: Issaquah, WA
Age: 41
Posts: 1,184
Default

Quote:
Originally Posted by krye View Post
You're right, basically now I have this:

Code:
//mask images
- (UIImage*) maskImage:(UIImage *)image withMask:(UIImage *)maskImage {
But how do you call it?
Just like you'd call anything...

Code:
UIImage *maskImage = [UIImage imageNamed:@"circlemask.png"];
UIImage *selectedImage = [info objectForKey:@"UIImagePickerControllerEditedImage"];	

UIImage *maskedImage = [self maskImage:selectedImage withMask:maskImage];
__________________
Recall It! Tag your notes. Tag your photos. Tag your thoughts. Tag your life.

Recall It! for iPad

http://www.dljeffery.com
dljeffery is offline   Reply With Quote
 

» Advertisements
» Online Users: 347
14 members and 333 guests
ADY, antonwilliams, dcool, Desert Diva, HemiMG, jakerocheleau, leahov, mer10, michelle, MozyMac, nobre84, smithdale87, thh022, vogueestylee
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,222
Posts: 380,721
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:22 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.