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 06-05-2009, 02:48 PM   #2 (permalink)
paymaster
Registered Member
 
Join Date: Apr 2009
Location: Northern CA
Posts: 152
paymaster is on a distinguished road
Default

(I'm a newbie myself, other feel free to correct me)

Create a context - CGBitmapContextCreate
You decide how big it is- it can exceed the iphone screen dimensions.
Draw your image and text into that context. (You will likely need to scale your font programatically to match the resolution your are drawing into.)

You can turn it into a new high res image to display with [UIImage imageWithCGImage:]. This is the image to save/email.

If it is less than 1024 pixels in any dimension, you can add it to a 480x320 imageView and have the view automatically scale to fit. If it is too large, you will need to scale it on your own.

Last edited by paymaster; 06-05-2009 at 02:51 PM.
paymaster is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,636
Threads: 94,101
Posts: 402,810
Top Poster: BrianSlick (7,990)
Welcome to our newest member, samdanielblr
Powered by vBadvanced CMPS v3.1.0

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