Fabio Fabio - 9 months ago 44
iOS Question

What is best format to use images (png,jpg) in iOS?

I'm using a background image, and I would like it to weigh little without losing quality.

I found this option in Xcode.

Project-> Packaging -> Compress PNG Files

This would help me to improve file sizes?


The format to use images is the PNG-24 file format, since it provides the highest quality image per pixel in the lowest file size. Also, in ios development, png is favored because of the multiple formatting and optional editing.

Most importantly, PNG is a lossless compression formatt, that means it compresses images without losing any quality.