tags:

views:

198

answers:

1

Hi Guys I am try to make iPhone application to encode-decode an images (NSData format).

 NSData imageData = UIImagePNGRepresentation(image);`

How can I do, please give some source code. Thank you!

+1  A: 

CocoaDev:BaseSixtyFour

Alex Reynolds
But it only encode-decode for text, not for image (NSData)
haicnpmk44
Keep reading. There's an `NSData` category that extends encoding/decoding functionality.
Alex Reynolds