Optimized pixel manipulation
Optimized pixel manipulation
- Subject: Optimized pixel manipulation
- From: "Christian Giordano" <email@hidden>
- Date: Wed, 8 Oct 2008 16:01:52 +0100
I'm modifying frequently the pixels of the images, the way I found is
creating a copy of the data
(CGDataProviderCopyData(CGImageGetDataProvider(image));) modify the
pixels and then create a new one. I'm facing performance issues and I
fear that all this allocating and deallocating is not helping. Is
there a way I could have access and modify the pixels of a CGImage
without copying them?
Thanks, chr
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden