Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sspbond007

macrumors member
Original poster
Hi,

Is there any way to compress image size in iphone? Actually my application is uploding images to server from phone. It takes long time to upload the original image. So if I can compress or convert to thumbnail, it'll help me out.

thanks
 
You could convert the image to jpeg using UIImageJPEGRepresentation() and a compression quality.

Alternatively you could convert it to png and use a tool like optipng to try and compress it further.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.