Sending And Receiving High Resolution Images

Discussion in 'iOS Programming' started by loon3y, Jul 20, 2013.

  1. loon3y macrumors 65816

    loon3y

    Joined:
    Oct 21, 2011
    #1
    in my app

    we're pushing high resolution images and receiving high resolution images from the web service


    do apps like face book and instagram compress these images and uncompress them?


    or do they actually send the full sized image back and forth?
     
  2. Snowshiro macrumors 6502

    Joined:
    Jan 12, 2008
    #2
    There's not usually a lot of mileage in compressing most common image formats, as they already undergo compression as part of the encoding process.

    You might get a modest benefit of a few percent, but any more than that would likely mean quality loss.
     
  3. Duncan C macrumors 6502a

    Duncan C

    Joined:
    Jan 21, 2008
    Location:
    Northern Virginia
    #3
    It depends on the file format.

    JPEG doesn't get any smaller with additional compression, and will sometimes actually get bigger. I don't think BMP images are compressed at all. TIFF images may or may not be compressed, depending on the settings. The same goes for PNG files. Not sure about GIF, save for simple run-length encoding.
     
  4. Snowshiro macrumors 6502

    Joined:
    Jan 12, 2008
    #4
    By common image formats, I meant the big three: JPEG, PNG and GIF. BMP and TIFF aren't all that commonly used in internet-based applications.
     

Share This Page