Most users know common picture formats such as JPG and PNG. However, their exact dif­fer­ences and ad­van­tages of the different formats aren’t well known. It’s often difficult or im­pos­si­ble to tell the dif­fer­ence between a JPG file and a PNG or GIF file. But a closer look at the different image formats is worth­while. Each format has ad­van­tages and dis­ad­van­tages and is designed for different areas of ap­pli­ca­tion. We’ll show the most common image file formats (pixel and vector graphics) and explain when you should choose which format.

Which image file formats exist?

Before we go into detail on which image file formats exist, it’s worth un­der­stand­ing the basic dif­fer­ences between pixel, raster, and vector graphics.

As the name already suggests, pixel graphics consist of pixels. What exactly does this mean? Pixels are in­di­vid­ual dots that make up a picture or graphic. The larger the number of pixels in an image, the higher the res­o­lu­tion and file size. The dis­ad­van­tage of pixel graphics is that scaling the image is as­so­ci­at­ed with a loss of quality. Each pixel has a defined size. If you enlarge a file, the pixels are also stretched and the quality decreases.

Tip
Always save pixel graphics in the exact size to fit the platform you’re going to need it for. In this way, you’ll avoid any loss of quality when you increase the image size later on.

Vector-based graphics don’t have this dis­ad­van­tage. These image file formats have an image composed of two-di­men­sion­al objects that define the position, di­men­sions, and colors of the image. This allows vector graphics to be scaled flexibly while main­tain­ing constant quality. Picture formats in this category are suitable for graphics that are used in different sizes, typically logos or other marketing materials.

Tip
Make sure you always receive the master file of an image before passing it on to an external source as a graphic design task. This way, you’ll be able to protect your images properly while being able to save the file in any given size.

Choosing the right image file format

Choosing the right image file type largely depends on how you’re going to use the image. The following factors influence the file format choice:

  • Do you need the image in different sizes?
  • Are you using image formats for web or print?
  • What file size do you need the image in and how important is a high image quality?
  • Does the image require many different shades of color?

For web purposes, quality comes in second place. What’s more important is a small file size and a short loading time. Ac­cord­ing­ly, lossy com­pres­sion is often ac­cept­able. In this case, the process leads to a loss of quality because data is removed from the image or reduced to one pixel. With lossless com­pres­sion, on the other hand, the quality is main­tained even with a reduced file size. When com­press­ing images, pixels of the same color category are grouped together and metadata is removed.

Tip

More in­for­ma­tion on Google’s WebP-Format – which is char­ac­ter­ized among other things by a par­tic­u­lar­ly efficient com­pres­sion – is also available in the Digital Guide.

An overview of the most important pixel formats

JPG, PNG, or GIF: Some of the best-known image file formats are pixel formats. The reason: Raster graphics are suitable for almost all areas of ap­pli­ca­tion and can be opened and edited in­de­pen­dent­ly of which program you use. In addition, the usually detailed color gra­da­tions and complex color gradients are ideal for pre­sent­ing pho­tographs in the best light. The lossless com­pres­sion also lends itself perfectly to the pre­sen­ta­tion of detailed graphics on the web. Below, we’ll introduce you to the most common pixel formats as well as their ad­van­tages and dis­ad­van­tages:

GIF: Graphics In­ter­change Format

Have you ever noticed animated ad­ver­tis­ing banners on a website or moving pictures in your Facebook feed? These were probably GIFs. GIFs are char­ac­ter­ized by their animated nature. A single GIF file contains all frames and time in­for­ma­tion needed for an animation.

This image file format consists of up to 256 colors in the RGB color space and is therefore not suitable for colorful and complex photos that normally cover several thousand colors. At the same time, the limited choice of colors is an advantage if you’re using image formats for web, because the reduced file size means shorter loading times – even with animated files. Sharp edges of shapes or fonts are even better rep­re­sent­ed in the GIF format than as a JPG image. This image file type is therefore ideal for small graphic elements and for web graphics.

Ad­van­tages Dis­ad­van­tages
Lossless com­pres­sion Limited choice of colors
An­i­ma­tions are possible Not well suited for pho­tog­ra­phy with a broad range of colors
Small file size Flat image format
Short loading time  
Supports trans­paren­cy  

PNG: Portable Network Graphics

The PNG image file format was developed as an advanced al­ter­na­tive to GIFs. Unlike a GIF, a PNG can be saved with a trans­par­ent or semi-trans­par­ent back­ground and supports the alpha channel. In addition, the PNG format adapts to optimized computers, meaning that it adjusts itself to a growing range of colors. The color spectrum covers up to 16 million colors, which is sig­nif­i­cant­ly more than a GIF. However, this image format is not suitable for printing because PNGs do not support the CMYK color model. This is where the name “Portable Network Graphics” comes from, which implies the primarily digital use.

Note
Although their choice of colors is limited, the GIF image format is still being used a lot, since an­i­ma­tions aren’t possible with the PNG al­ter­na­tive.

PNG is a typical image format for the web that is char­ac­ter­ized by lossless com­pres­sion. Even small files are able to retain their high quality and res­o­lu­tion and show fine nuances. Ac­cord­ing­ly, PNGs are suitable for logos or other small images with many shades, making them ideal for further pro­cess­ing and for saving in different sizes. However, this also means that they require more memory space. A PNG file is up to ten times larger than a com­pa­ra­ble JPG.

Ad­van­tages Dis­ad­van­tages
Lossless com­pres­sions Not suitable for print
Supports (semi)-trans­paren­cy and the alpha channel Requires more memory space
Full color spectrum Not uni­ver­sal­ly supported
  An­i­ma­tions are not possible

JPG/JPEG: Joint Pho­to­graph­ic Experts Group

The JPG format is the most commonly used image file format. The files are char­ac­ter­ized by high com­pat­i­bil­i­ty and universal ap­pli­ca­tion pos­si­bil­i­ties. This format can be opened and converted with almost any ap­pli­ca­tion. In addition, JPGs offer the full color spectrum with up to 16 million colors. The dis­ad­van­tage is that com­pres­sion of an image file leads to the loss of image data due to the com­bi­na­tion of similar pixels, which in turn leads to a loss of quality. This is also the main dif­fer­ence between JPG files and the PNG format.

Tip

JPG vs. PNG: Both image file types are very common for web images, but are actually quite different. Choosing the right image format will depend on its intended use.

For web use, the quality of a JPG file is suf­fi­cient in many cases, and lets you benefit from a fast loading time thanks to the small file size. So-called pro­gres­sive JPEGs offer an ad­di­tion­al advantage in terms of the user ex­pe­ri­ence, as images are loaded pixel by pixel, so that unwanted white areas are avoided on websites. A JPG can also be sent quickly and easily by email as a preview. Without com­pres­sion, high-quality JPG files are also suitable for printing.

Tip
Always choose the best possible com­bi­na­tion of quality and file size when working with image formats for web.
Ad­van­tages Dis­ad­van­tages
High com­pat­i­bil­i­ty Lossy com­pres­sion
Wide­spread use Doesn’t support trans­paren­cies and an­i­ma­tions
Quick loading time No layers
Full color spectrum  

TIFF: Tagged Image File Format

The TIFF format differs sig­nif­i­cant­ly from other image file formats presented so far. Most web browsers do not support this format, which makes it un­suit­able for images displayed on the web. However, TIFF offers sig­nif­i­cant ad­van­tages when it comes to editing images. The format supports both RGB and CMYK color models and has a high color depth of up to 32 bits per color component. In addition, layers, masks, and trans­paren­cies can be saved.

Lossless com­pres­sion allows you to store or copy files without any loss of quality. The TIFF format is therefore ideal for printing high quality images. Image in­for­ma­tion is either not com­pressed at all or com­pressed without any loss of data. However, the high-quality means that images require more storage space. This property also virtually rules out the use of image formats for web.

Ad­van­tages Dis­ad­van­tages
Lossless com­pres­sion Not com­pat­i­ble with many browsers
High image quality Requires more storage space
Ideal for pho­to­graph printouts  
Trans­paren­cies and layers  

BMP: Windows bitmap

Since 1990, the BMP image file format has been an integral part of the Microsoft operating system and Windows 3.0. Ac­cord­ing­ly, BMPs can be opened without ad­di­tion­al plug-ins or third-party programs. Although this image format has now been largely replaced by other formats, it is still in use.

BMP is a simply struc­tured image format that is char­ac­ter­ized by fast pro­cess­ing times. Even after lossless com­pres­sion, image data is still rel­a­tive­ly large because all pixels are stored with their re­spec­tive color values. Today, there are other image file formats with which an equally loss-free com­pres­sion is achieved alongside by a smaller file size. In the age of com­mu­ni­ca­tion via email and web platforms, this image format is therefore becoming in­creas­ing­ly un­in­ter­est­ing and un­suit­able for modern ap­pli­ca­tions.

Ad­van­tages Dis­ad­van­tages
An integral part of Windows Big file outputs even after com­pres­sion
Large color spectrum  
Simply struc­tured  

PSD: Photoshop Document

PSD is the format of the leading image editing program Adobe Photoshop and a format fre­quent­ly used by graphic designers. However, editing requires the ap­pro­pri­ate software. Therefore, the PSD format is often un­suit­able for in­di­vid­u­als and for col­lab­o­ra­tive work. You can work around this problem by using Adobe Photoshop and con­vert­ing the file to another image file type. Con­ver­sion is also necessary before printing.

With the PSD format, each image consists of several layers that can be easily edited. In principle, these files are raster graphics, but they can also contain vector graphics. This image file format is therefore ideal for extensive image editing.

Tip

Adobe Photoshop is available as part of the Adobe Creative Cloud at a cost. Free Photoshop al­ter­na­tives are gaining in pop­u­lar­i­ty these days, as many of them boast a similar spectrum of features.

Ad­van­tages Dis­ad­van­tages
Extensive editing of image layers Photoshop is a pre­req­ui­site
Creation of videos and an­i­ma­tions possible Large storage capacity due to layers
Raster and vector graphics  
Con­ver­sion to other formats possible  

An overview of the most important vector formats

In contrast to pixel graphics, which are fixed in size, vector graphics are much more flexible and therefore ideal for dis­play­ing geometric shapes and fonts. Lossless scaling also makes it easier to create re­spon­sive web elements. In most cases, special graphics programs are required for pro­cess­ing these files. Therefore, the following image file formats are usually ex­clu­sive­ly used by graphic designers. But in­di­vid­u­als are in­creas­ing­ly also taking a liking to the easily adaptable vector graphics thanks to free software al­ter­na­tives.

PDF: Portable Document Format

The PDF image file format is developed by Adobe, but, unlike other Adobe formats, does not require any company-specific software (although Acrobat Reader is the cor­re­spond­ing standard). The PDF format has es­tab­lished itself as a reliable exchange format and can be viewed without paid editing software – on any device, any operating system, and any web browser. The format is par­tic­u­lar­ly popular to showcase print files.

With the Adobe range of programs, which are subject to a fee, PDFs can be processed in a versatile and flexible way. The foun­da­tion of this picture format par­tic­u­lar­ly shows its strength for vector graphics, but also maps pixel graphics. Even in the free version, PDFs can be expanded on with ad­di­tion­al features such as notes, comments, or file at­tach­ments. Ap­pro­pri­ate security settings can be used to prevent editing by third parties.

Ad­van­tages Dis­ad­van­tages
High com­pat­i­bil­i­ty, in­de­pen­dent of platform Editing only possible with payed version
No charge­able software necessary Text is rec­og­nized as images
The standard for print files Often high storage space required
Ad­di­tion­al features  

AI: Adobe Il­lus­tra­tor format

Like the PDF format, the AI format is a native image format of the Adobe family. However, unlike PDF, you need the Adobe Il­lus­tra­tor program to display these files. The vector-based format can be scaled flexibly and offers the pos­si­bil­i­ty to embed or link raster graphics. The image file format is mostly used to save logos and other marketing materials, which are required in different sizes.

With Adobe Il­lus­tra­tor, files can also be saved in any other common image file format. This fa­cil­i­tates the exchange of files between graphic designers and private in­di­vid­u­als. Another advantage is that you can save multiple vari­a­tions in a single file by hiding and unhiding layers.

Note
Among pro­fes­sion­al graphic designers this image file format has es­tab­lished itself as the industry standard.
Ad­van­tages Dis­ad­van­tages
Highly scalable Requires plenty of storage space
Multiple layers Adobe Il­lus­tra­tor is a pre­req­ui­site
Com­pat­i­ble with other Adobe programs  

EPS: En­cap­su­lat­ed Post­Script

In 1987, Adobe published the EPS format in the Post­Script pro­gram­ming language. Today, the image format has largely been replaced by the more widely used PDF, which is also based on Post­Script.

EPS was the first format that made it possible to display documents exactly as they appear in print. EPS files, like PDFs, can be opened with free software across all platforms. The most common program to open EPS files is Adobe Acrobat Reader, but there is a wide range of al­ter­na­tives available. The lossless format in­te­grates pixel and vector graphics and is char­ac­ter­ized by a par­tic­u­lar­ly high degree of adapt­abil­i­ty and scal­a­bil­i­ty. One of the dis­ad­van­tages is that EPS files are limited to one document page and do not dis­tin­guish between vector and bitmap.

Ad­van­tages Dis­ad­van­tages
High quality images suited for print Replaced by PDF files
Com­pat­i­ble with almost every design software Limited to one page
  Doesn’t dis­tin­guish between vector and bitmap

SVG: Scalable Vector Graphics

The XML-based vector format  SVG appeared in 1999 and shows images and their elements in text format. Since not all users, es­pe­cial­ly in­di­vid­u­als, have access to Adobe Creative Suite, AI files are sometimes un­suit­able for sharing. SVG graphics, on the other hand, are ideal for sending vector graphics, as they don’t require any specific software. In theory, the vector format can be created in a simple text editor, but this isn’t common practice.

Note
In the Adobe Creative Cloud, SVG graphics can only be opened with Adobe Il­lus­tra­tor. To edit them in InDesign or Photoshop, a con­ver­sion to the EPS format is necessary.

The SVG image file format has been around for over 20 years. It is ex­pe­ri­enc­ing a boom due to the in­creas­ing variety of screen sizes and its re­spon­sive design. SVG graphics are rescaled with every screen layout. Ac­cord­ing­ly, the files are always displayed in maximum sharpness and make it much easier to set up a re­spon­sive design. The World Wide Web Con­sor­tium (W3C) also stan­dard­ized the format in 2001 and rec­om­mends SVG for dis­play­ing two-di­men­sion­al vector graphics on the web.

Ad­van­tages Dis­ad­van­tages
Supported by most web browsers More complex and detailed graphics increase the file size con­sid­er­ably
Lossless scaling Not com­pat­i­ble with certain browsers
Re­spon­sive design Only editable with Il­lus­tra­tor within Adobe Creative Cloud
Small file size  
Animation and more possible through JavaScript  
Go to Main Menu