As we keep building on old image technology, types of file formats keep piling up, each with their own nuances and uses. JPG, PNG, and GIF have become the most common of these because of their compatibility with modern web browsers, broadband speeds, and the needs of average users. But what sets them apart from each other?
JPG
JPG was a filetype developed by the Joint Photographic Experts Group (JPEG) to be a standard for professional photographers. Like the method ZIP files use to find redundancies in files to compress data, JPGs compress image data by reducing sections of images to blocks of pixels or “tiles.” JPG compression has the unfortunate side effect of being permanent, however, as the technology for the file was created for storing large photographic image files in surprisingly small spaces, and not for photo editing.


GIF
GIF, like JPG, is an older filetype, and one generally associated with the internet as opposed to photography. GIF stands for “Graphics Interchange Format” and employs the same lossless LZW compression that TIFF images use. This technology was once controversial (for patent enforcement issues) but has become an accepted format since all patents have expired. [caption id="" align="alignnone" width="520" caption="Close up of an 8-bit color GIF."]

PNG
![]() | ![]() | ![]() | ![]() |
Which to use?
![]() | ![]() | ![]() | ![]() | ![]() |
- PNG is good option for transparency and non-lossy, smaller files. Larger files, not so much.
- GIF is largely a novelty and only useful for animation, but can produce small 8-Bit images.
- JPG is still the king for photographs and photo-like images on the internet.