ios - Compressing UIImage as Far as Possible? -


i trying compress down selected uiimage far reasonably possible. compressing so:

uiimage *image = [info objectforkey:uiimagepickercontrolleroriginalimage];     nsdata *imagedata = [[nsdata alloc] initwithdata:uiimagejpegrepresentation((image), 0.1)]; 

according length of data, come in anywhere between 250kb , 600kb depending on photo selected. maximising on storage essential me.

how suggest might compress photos down little further? method know of.

thanks.

there web page nice chart regarding quality , file size.

enter image description here

jpeg compression data loosing algorythm. if doesn't matter quality change color palette 256 or 8 color ( grayscale) , after use maxed compression.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -