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

loon3y

macrumors 65816
Original poster
Oct 21, 2011
1,235
126
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?
 
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.
 
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.

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.
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.