The Beginner's Guide to Image File Formats

Alyssa Mertes

Alyssa Mertes

Promo Expert

Published: April 22nd, 2019

As a custom printing service, we see our fair share of artwork in a wide variety of image file formats. While most of the time we will find a way to work with what we are given (and make it look great), there are times when we have to ask our customers to send us something else. Otherwise they won't be happy with the final product - and we simply can't have that.

This guide to vector art (our preference for most artwork) has been really helpful for our customers.

To expand on this, however, we wanted to create a resource that explains the many common file formats for all types of images, what they're intended uses are, as well as the advantages and disadvantages of each. We hope you find it helpful.

Raster Vs. Vector

What is Vector Art?

Vectored art is an image that uses points, lines, and curves so it can be stretched or shrunk without loosing any image quality. There are two major types of images: raster and vector.

Raster images contain pixels for detail. Think of pixels as individual dots or points in a two-dimensional array. The more pixels in the image, the more detail that image will have. When you zoom in or blow the image up, however, the quality will eventually degrade and become "pixelated". Digital photographs like those taken by a digital camera or scanned electronically are raster images.

Vector images do not contain pixels. Instead, they use mathematical formulas to determine the shape and color of lines and areas between points on a 2-dimensional landscape. The detail is determined by the number of points and complexity of the curves between those points. This way, when the image is blown up, the quality is not compromised in any way. Simple graphics such as logos and illustrations are generally created as vector images so they can be blown up to any size without sacrificing quality. This is usually the preferred format for printers (like us) whenever possible.

JPEG

JPEG (Joint Photographic Experts Group), Let's Peg Down This File Type

The JPEG is one of the most common raster file formats. It's a format often used by digital cameras as it was designed primarily for electronic use. The main drawback with JPEG compression is that it is lossy, meaning each time the file is edited and re-saved in JPEG format, the quality degrades. In fact, images with such JPEG degradation are common on the web today. This degradation, however, is not a result of copying and sharing the file without recompression (a common misconception).

While JPEGs can be used for printing, they are best suited for electronic display. And because the compression keeps file sizes small it makes an ideal format for sharing and publishing photos on the web. However, JPEGs do not handle text rendering and other sharper lines such as illustrations as well as other electronic formats.

Extensions: .jpg, .jpeg, .jpe, .jif, .jfif, .jfi

Best Uses: Sharing and displaying photographic images electronically and on the web, printing photographs.

Advantages: Compatibility, smaller file sizes, good color range

Disadvantages: Lossy compression degrades image quality when edited multiple times, not great for text, simple graphics, or illustrations

GIF

Gif (Graphics Interchange Format), GIF this File Type a Chance

GIF was one of the first formats to be widely used to share images and graphics on the web. Today, the format is still widely used for simple web graphics as it has a lossless compression for simple lines and solid colors for electronic display. Though it is slowly being replaced by the PNG file format, GIFs have remained relevant through its major advantage: support for animations.

Animated GIFs are still widely used today to display and share short video clips (obviously without sound) on the web because the file size is much smaller than common video formats. In fact, 2012 has been called the "year of the animated GIF" by some.

Extensions: .gif

Best Uses: Simple web graphics, animated graphics

Advantages: Lossless compression, smaller file sizes, simple animations/short video clips, wide compatibility

Disadvantages: No transparency, web colors only, short step down from PNG for most graphics

PNG

PNG (Portable Network Graphics), Cleaner, Clearer, Webby-er?

The PNG was a file format designed specifically for web graphics as an improved non-patented replacement for the GIF. It supports lossless compression as not to degrade when edited as with JPEGs. While this can create larger files for complex images such as photographs, simple images with larger areas of solid color and sharper lines can be compressed to a smaller size with limited loss of quality.

One of the other major advantages of PNG files is the ability to contain transparency either full or partial (using an added alpha channel). This gives webmasters and designers more flexibility to create dynamic graphics and layouts on the web. Though unlike GIFs, PNG files do not support animation.

Extensions: .png

Best Uses: Simple web graphics like logos, illustrations, or raster text rendering

Advantages: Lossless compression, small file sizes for simple graphics, smooth rendering for sharp lines, transparency support

Disadvantages: More complex and larger image files can be large, only supports web colors (RGB), limited compatibility

BMP

2x2 pixel bitmap

BMP (Bitmap Image), Saving Your Image 1 Bit at a Time

In computing a bitmap is quite literally the mapping of bits, or small pieces of information in its simplest form: zeros and ones. A bitmap image generally refers to the array of pixels in any image. If you're going to be technical about it, other raster formats (when fully rendered) are displayed as bitmaps.

BMP files, then, are essentially images without compression: containing data for every individual pixel on the image. And since the file format is so widely compatible, it makes an ideal format for working with in image editing programs. Though some BMP formats support compression (lossless and loss), in raw formats (uncompressed) the biggest drawback is its relatively massive file sizes.

Extensions: .bmp, .dib

Best Uses: Image editing, everything

Advantages: Uncompressed for perfect images, near universal compatibility, efficient compression (ZIP, etc.)

Disadvantages: Massive file sizes

Tiff

TIFF (Tagged Image File Format), No Pixel Left Behind

TIFF is an image file format generally used to work with raw image data. It was initially developed in the 1980s for saving images of documents, a bit like the way many people use PDFs now. Today, TIFF remains a preferred file format for people who need to work with high-quality images, like visual artists and archivists.

Unlike JPEG, TIFF has lossless compression. Please don't freak out on us. All that means is that when the file is edited or saved, the editing program you're using doesn't toss out little bits of information to make the file smaller.

While some digital cameras use the TIFF format, JPEG compression is still more widely utilized. However, many of these cameras also can save using raw image file formats, which can be rendered as TIFF files in order to preserve image quality.

Extensions: .tif, .tiff

Best Uses: Working with photographs without image quality loss, printing

Advantages: Lossless compression, high-quality images, compatible with both PCs and Macs, multiple images and multiple pages can be saved in one file

Disadvantages: Large file sizes, not great for web graphics, minor software compatibility issues

SVG

Vector "Line Art"

SVG (Scalable Vector Graphics), A Jack of all trades

SVG is a vector graphic format that was created primarily for use in web graphics. Images can actually contain vector & raster images as well as render text. Additionally, SVG supports animation and even interactive features making it an ideal format for the web.

As it is still relatively new, support for SVG files is somewhat limited, particularly with older web browsers, although most modern browsers do have some support. And though SVG files can be used for print, because they can contain features intended for the web, they are not generally the format preferred by printers.

Extensions: .svg, .svgz

Best Uses: Web graphics, particularly for simple interactive features and animations

Advantages: Scalable (vector), interactive while keeping file sizes relatively small

Disadvantages: Support growing but still limited, not intended for print

EPS

EPS (Encapsulated Post Script), Your Translator File

Technically EPS files aren't pure vector graphics. As a "PostScript" file, they can contain vector and raster images and even both in the same file (much like SVG). PostScripts are specifically designed to handle vector graphics for output (printing, etc.) because of the ability to do on the fly rasterization (converting lines to pixels).

As such, EPS files are usually the preferred format for sending vector graphics to print not only because PostScript documents are designed for printing; but it is also widely compatible and flexible. Other vector formats usually require the specific software package they were created in to open them, where EPS files are more universal.

Extensions: .eps, .epsi, .epsf

Best Uses: Sending vector graphics to print; working with vector/raster graphics across platforms/graphic design programs.

Advantages: Compatibility for vector graphics, ideal for printing/output

Disadvantages: May lose control of advanced vector editing features

PDF

PDF (Portable Document Format), Reading Glasses Not Required

PDF files aren't necessarily images, though they can be. Scanned documents are often saved as PDF images as the format handles raster text rather well. Otherwise, PDF files may also include text, multiple pages, imbedded graphics (both raster and vector art), and even interactive features like fillable forms. The document format was originally created to send simple forms and documents electronically as a replacement for the fax machine because the files are generally small and widely accepted.

Occasionally, PDF files are used for sending graphics to print - but usually for text heavy graphics such as pamphlets, mailers or something similar - and generally the original artwork needs to be included. Printers sometimes use PDF files to send final proofs back to clients for approval just before going to print.

Extensions: .pdf

Best Uses: Text documents, document scanning, printing proofs, text heavy layout printing.

Advantages: Widely accepted format, smaller file sizes (especially for multiple page documents), versatile

Disadvantages: Not a good replacement for PostScript, Not great for complex graphics printing, not really useful as a graphic image

AI

AI (Adobe Illustrator), The Native Format of Choice

Adobe Illustrator is the most common vector art editing program in use today. It's so common, in fact, that printing services may actually prefer the .ai format over the more universal EPS format. Especially if the artwork is 100% vector.

Other vector editing programs, such as Adobe Freehand or CorelDRAW, have the capability to open most .ai files and edit the vector art. In addition to that, .ai files generally include an imbedded PDF version of the image so other image editing or viewing programs can open the file and print (though editing the vector art is not usually done using this method). This wider compatibility makes .ai files the native vector format (that is, not a standard format) of choice for most printers and graphic designers.

Extensions: .ai

Best Uses: Creating, editing, and printing vector artwork

Advantages: Wider compatibility for a native vector format, most advanced vector format available

Disadvantages: Newer versions may have compatibility issues, not a standard file format

Converting Raster images to Vector Art ("Vector Tracing")

Occasionally, there might be the need to take a raster image and convert it to a workable vector format so it can be scaled without quality loss. This process is called tracing (or sometimes "vectorization"). Complex photos are generally not ideal for this process, because the finer details will be lost. Simple graphics and illustrations are much more ideal, but even then, details may be lost in the process. Color gradients and other advanced effects are generally not going to come through well via vector tracing.

This is what happens when "Vectorize" some fruit.

Vector tracing by hand can be done with some photo editing software like Photoshop, but it is a tedious process. Luckily there are a few online tools that can handle it instantly, but it can get rather messy, and usually need to be cleaned up afterwords. One such tool is Vector Magic which isn't free, but does allow for a free "trial" (very helpful if it only needs to be done once). A free tool (that is still rather powerful) is called AutoTrace. It has a number of options and settings that can be confusing to new users, but are very helpful for fine tuning the process.

Once you have the traced vector art, you can now manipulate it using Adobe Illustrator or a similar vector editing program. Like Gimp, there are free versions of these as well, like InkScape. Though not as powerful as advanced programs like AI, they can get the job done for simple vector art needs.

Ultimately, vector art is our file of choice! With a vector file, you'll be able to manipulate your artwork without stretching pixels or minimizing quality. Common formats like JPEGs, GIFs (and many more) will work in certain circumstances, but may need to be converted to vector art with "vector tracing" if the quality isn't to industry standards. Whatever format your artwork is in, Quality Logo Products will help make sure your products are the best in show!