File formats

Common graphic formats

When information is stored in digital form, the data must be arranged in a defined structure. These data structures are called file formats, and there have been thousands of file formats developed to store images. Many more formats have been developed to store other types of data such as word processing documents, sounds and numerical data.

Many of the file formats developed to store images are obsolete or rarely seen, but you can still expect to encounter a wide range of different formats. An image file format may store files as vector, bitmap, or both.

Some of these file formats are only used by a particular application program. In these cases, you may be able to open the file and access its data only with the program that created it. Other file formats are standards readable by many programs, and others are semi-standard formats, with variations and options supported differently, or not at all.

Format Extension Vector Bitmap Lossless Lossy Notes
JPEG .jpeg/jpg RGB; CMYK exist but rare
PNG .png 8 bit limited colour/24 bit colour
TIFF .tiff/tif many different varieties
GIF .gif ✓ * 8 bit (256 colour) max
EPS .eps Can include bitmap data
SVG .svg Can include bitmap data

Some of the more common formats:

JPEG (bitmap) .jpg/.jpeg

Named after the committee that invented the compression method used to make the files smaller (Joint Photographic Experts Group), JPEG files use lossy compression. Compression means making a digital file store information in a compact way, so that the file sizes are smaller. Lossy compression means that some quality is lost in the process. (In lossless compression, no quality is lost at all.) JPEG files allow photographs, and images which resemble photographs, to be stored using up to 100 times less storage space than uncompressed formats. The loss of quality, however, increases as the file size decreases. JPEG is useful in situations where file size is more important than quality, but should never be used as a working format. Each time you edit and save a file as a JPEG you lose more image quality. Use a non-lossy format as working format, and save a copy as a JPEG. Used online, in print, and other media.

https://www.adobe.com/creativecloud/file-types/image/vector/jpg-file.html

TIFF (bitmap) .tif/.tiff

TIFF stands for Tag (or Tagged) Image File Format. A common format for storing bitmap images, it is one of the most widely used formats in publishing software. TIFF supports a wide range of compression options (both lossy and non-lossy) and other features; anyone can come up with a new version of the TIFF standard. In practice, the TIFF files created by most professional-level programs can be read by most other graphics applications. Used for print applications. Becoming uncommon in design workflows.

EPS (bitmap and/or vector) .eps

EPS (Encapsulated PostScript) is a metafile: this means it can contain more than one type of data at once. EPS files can contain both bitmap and vector data. In addition, they contain both PostScript data and a screen preview. The PostScript data portion is used when printing to PostScript compatible printers. The screen preview is used to show a rough approximation of the file on a computer screen. In many cases, if you print an EPS file to a non-PostScript printer, the screen preview gets printed, yielding a crude, low-resolution image. Used in print. Becoming rare in design workflows, verging on obsolete. Use only if required by a particular printing provider or other technical requirement.

https://www.adobe.com/creativecloud/file-types/image/vector/eps-file.html

PDF (bitmap and/or vector) .pdf

Adobe’s PDF (Portable Document Format) or Acrobat format is an attempt to create a universal file format. Converting a file to PDF allows anyone with the free Acrobat Reader software to view and print the file. This makes it useful when distributing files to an audience which may not have the same software you used to create the files. PDF files are difficult to edit, and you should always keep a version of the file in its original format should you need to make changes.

Used for print, and distributing documents online.

SVG (bitmap and/or vector) .svg/

https://www.adobe.com/creativecloud/file-types/image/vector/svg-file.html

GIF (bitmap) .gif

The Compuserve GIF (Graphic Image Format) is limited to a maximum of 256 colours, or 8 bits per pixel. This means it is unsuitable for photographic images, but useful for images such as logos or diagrams with few colours. For these types of images, its non-lossy compression method can dramatically reduce file size. GIF files can also store simple animations as a series of still images. Used online. Otherwise rare in design workflows.

https://www.adobe.com/creativecloud/file-types/image/raster/gif-file.html

PNG (bitmap) .png

Pronounced “ping,” the Portable Network Graphics format is a partial replacement for the .gif format. PNG features both an 8-bit and 24-bit version (24-bit PNG files are very large) and allows for much better transparency effects than JPEG or GIF. Used online. Common in design workflows

https://www.adobe.com/creativecloud/file-types/image/raster/png-file.html

Camera Raw (bitmap) - many file extentions, including .arw (Sony).crw (Canon), .nef (Nikon) and many others.

Camera Raw does not refer to a single format, but rather to the many (perhaps hundreds) of ways that digital cameras and some phones export unprocessed ("raw") image data. Each camera raw format needs to be opened by an application that understands that particular format, and can processed the raw data into a usable image. Using camera raw allows photographers to make better adjustments to exposure, colour balance and other characteristics when the image is transformed into data that can be viewed by standard applications.

Application-specific formats

Virtually every application program has its own format. These files are often openable only in the program that created them; an Adobe InDesign file can only be opened by InDesign. Some application formats may be openable in other programs, sometimes reliably, sometimes less so. A file created in one version of a program may not be openable by other versions of that program.

Notable application-specific formats for graphics include:

  • InDesign (.indd)
  • Illustrator (.ai)
  • Photoshop (.psd)

Common office productivity applications:

  • Microsoft Word (.docx/doc)
  • Excel (.xlsx/xls)
  • Powerpoint (.pptx/ppt)
  • Apple Pages (.pages)
  • Apple Numbers (.numbers)
  • Apple Keynote (.keynote)

Not covered here:

There are also many formats used in programming, web development, audio, video and 3D design.