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, 03:47 PM   #3 (permalink)
dljeffery
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Jan 2010
Location: Issaquah, WA
Age: 41
Posts: 1,184
Default

You can create a circle (or just any arbitrary shape/pattern) masking graphic in some graphics editor and add it to your project, and then use CGImageMaskCreate (to create your mask image), and CGImageCreateWithMask (to apply your mask over your photo).

I do this with a sort of torn-off looking mask to create a thumbnail image of photos for table cells in my app.
__________________
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: 268
20 members and 248 guests
ADY, ckgni, F_Bryant, IphoneSdk, iph_s, jakerocheleau, karunaskj, MarkC, michelle, NSeven, peterkessler45, rob.mccarthy, rodrigozanatta, smethorst, Speed, themathminister, TheWebWizz, V_SC&, Xaron, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,225
Posts: 380,712
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 08:23 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.