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

sspbond007

macrumors member
Original poster
Aug 19, 2008
46
0
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
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
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.