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-12-2008, 03:47 PM   #4 (permalink)
PhoneyDeveloper
New Member
 
Join Date: Sep 2008
Posts: 1,431
PhoneyDeveloper is on a distinguished road
Default

I don't think there are any built-in filters or a way to apply a filter directly to a UIImage. You need to use coregraphics. You build a cgbitmapcontext, draw your image into it, apply whatever filter you want to the bitmap data, and get an image from the bitmapcontext.

You'll need to come up with whatever logic you need to filter the pixels. One way to make an RGB image bw just average the three channels and write the average back to all three channels.
PhoneyDeveloper is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,544
Threads: 94,068
Posts: 402,680
Top Poster: BrianSlick (7,989)
Welcome to our newest member, CMSLdesign
Powered by vBadvanced CMPS v3.1.0

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