20.2 JPEG, GIF, and PNG

In this section, we discuss the common formats that all layout engines handle (though not always well) and which are generally the most useful.


Surprisingly, JPEG is not the name of the format, which is called JFIF, but of the working group that defined it—the Joint Photographic Experts Group. This committee defined what became an ISO standard in 1994. The format they designed is the usual output format of most, if not all, digital cameras. JFIF stands for JPEG File Interchange Format.

JPEG uses a lossy compression algorithm, which means that some information is lost, but the file size is decreased substantially while maintaining a fairly high image quality. JPEG is the format of choice for photographs and digital illustrations ...

Get The Book of GIMP 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.