jpg or png

Discussion in 'iPhone/iPad Programming' started by chhoda, Nov 14, 2009.

  1. macrumors 6502

    Oct 25, 2008
    performance wise whch is preferred ? pngs or jpgs ? jpg take lot more memory than pngs ? any statistics on this, anybody ?

  2. macrumors newbie

    Sep 14, 2009
    PNGs over JPGs. I read about it in a iPhone development book. The iPhone OS optimizes PNGs and those are preferred, although JPGs would work just fine.
  3. macrumors 68030


    Sep 2, 2008
    Once loaded into memory any image becomes a simple bitmap. So in terms of the memory taken up its the same for most or all image formats. PNG may decode faster than JPEG.
  4. macrumors regular

    Sep 24, 2009
    I use only PNG's they seem faster to load from my experience...
  5. macrumors 68000


    Aug 8, 2008
    For what it's worth PNG is also a lossless format (theoretically no quality loss when compressed).

Share This Page