On Dec 16, 2008, at 10:39 AM, Thomas Clement wrote:

That's right, I was not doing it correctly, this is now working.
Also I noticed I can call CGImageCreateWithImageInRect to create a new CGImage which is a smaller area of the original image and then call CGImageGetDataProvider and CGDataProviderCopyData to get the pixel data. Seem easier and faster too. However CGDataProviderCopyData is 10.5 minimum.


Unfortunately due to a bug that doesn't always work correctly. If you file a bug, reference bug 5889934.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to