Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-24-2008, 06:58 PM
Junior Member
 
Join Date: Aug 2008
Posts: 9
Default Image processing in Cocoa

Hi guys, does anyone has some hints on doing image processing with iPhone SDK? Do I have to use CGImageGetDataProvider?

Thanks, chr
Reply With Quote
  #2 (permalink)  
Old 09-24-2008, 07:53 PM
Junior Member
 
Join Date: Aug 2008
Posts: 9
Default

Thanks to this faq: Technical Q&A QA1509: Getting the pixel data from a CGImage object

I found:

Code:
CFDataRef data = CGDataProviderCopyData(CGImageGetDataProvider(image));
and data seems to be of the right size, now I have to see how to use it and if to release it (I presume so). It is strange I couldn't find info about CGDataProviderCopyData in the reference.

Cheers, chr
Reply With Quote
  #3 (permalink)  
Old 09-24-2008, 09:08 PM
Junior Member
 
Join Date: Aug 2008
Posts: 9
Default

And here a pixel parsin example: How to create a ARGB CGImageRef from a ABGR CGImageRef in Cocoa - this is rod's blog

Enjoy, chr
Reply With Quote
  #4 (permalink)  
Old 11-20-2008, 06:09 AM
Junior Member
 
Join Date: Nov 2008
Posts: 1
Default

I too searching for many days. thnaks for sharing
__________________
Sabarimala Animation Movie
Reply With Quote
Reply

Tags
core image, image-processing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:22 AM.