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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 09-01-2009, 01:01 PM   #27 (permalink)
StevenD
Registered Member
 
Join Date: Jun 2009
Posts: 153
StevenD is on a distinguished road
Default

Hi,
Boy, this is such a newbie question, but I need to use Phoney's code for shrinking an image, and I can't figure out how to call the function:

UIImage *imgMyShrunkenImage = ?????

In my code, I turned phoney's
UIImage* resizedImage(UIImage *inImage, CGRect thumbRect)

into:
-(UIImage*)resizedImage:(UIImage*)inImage inRect:(CGRect)thumbRect {

because I'm more familiar with that syntax, but I need to know how to complete the line that calls the funtion or method, passing an image and a rect, and creating a UIImage that I can then use.

Thanks for any help.
/Steve
StevenD is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,180
Threads: 93,920
Posts: 402,151
Top Poster: BrianSlick (7,967)
Welcome to our newest member, mausumi
Powered by vBadvanced CMPS v3.1.0

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