UIImage to NSData
Copy this code and paste it in your HTML
PNGæ ¼å¼çš„图片:
UIImage *image.....;
NSData *imageData
= UIImagePNGRepresentation
(image,
1.0);
JEPGæ ¼å¼çš„图片:
UIImage *image.....;
NSData *imageData
= UIImageJEPGRepresentation
(image
);
URL: http://lovebirdegg.javaeye.com/blog/558830
Report this snippet
Comments
Subscribe to comments