JPEG
Most photos online are JPEG, and this isn't likely to change anytime soon. Even with the introduction of PNG, the use of JPEG is so tightly ingrained in the human experience that it will take years before people start making the move to PNG.
The JPEG format is actually quite effective for photos. Even at moderately higher levels of compression, most photos look good in web pages, at least for relatively small photo sizes. It takes a lot of compression—and a larger image—before a photo will show degradation visible to most people. In addition, many digital cameras natively store images in JPEG format to save room on the disk. Even if a camera supports RAW format (where all image information is maintained with the image) or TIFF, chances are it will also support JPEG. Some cameras even allow the owners to specify the JPEG quality in order to control space use.
Get Painting the Web now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.