I am using following code to resize an image - it all works well and as expected...
I use interpolation quality as kCGInterpolationLow and UIImageJPEGRepresentation(image,0.0) to get the NSData of that image.
The problem is that the image size is still a bit high in size at around 100kb. My question is can I reduce it further?
The images originate from the iPhone Photo Album and are selected via a imagePickerController.
Many thanks,
来源:https://stackoverflow.com/questions/4013871/uiimage-reduce-byte-size