Reduce image size (in KB)

M using UIImagePNGRepresentationto create a png image from a pdf file. I want to reduce the size of the created image.

How can I do that?

+3
source share
2 answers

Saving as a JPG with a quality of 90% will dramatically reduce the size, and the image will still look normal.
Due to the high resolution DPI of the iPhone, this will not be noticeable!

+1
source

you can upload png to UIImage and then resize it.

this bay how to resize it.

http://vocaro.com/trevor/blog/2009/10/12/resize-a-uiimage-the-right-way/

-1
source

All Articles