Compressing UIImage as Far as Possible?
I am trying to compress down a selected UIImage as far as reasonably
possible. I am currently compressing it like so:
UIImage *image = [info objectForKey:UIImagePickerControllerOriginalImage];
NSData *imageData = [[NSData alloc]
initWithData:UIImageJPEGRepresentation((image), 0.1)];
According to the length of the data, they come in anywhere between 250kb
and 600kb depending on the photo selected. Maximising on storage is
essential for me.
How would you suggest I might compress the photos down a little further?
This is the only method I know of.
Thanks.
No comments:
Post a Comment