Created
December 19, 2011 16:56
-
-
Save codeswimmer/1497966 to your computer and use it in GitHub Desktop.
iOS: How to get bytes from an image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CGDataRef imageDataRef = CGDataProviderCopyData(CGImageGetDataProvider(myCGImageRef))); | |
| // CGDataProviderCopyData copies underlying bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment