Main content begins here

Vector & Raster Are Not A Type Of Dinosaur

Wednesday, September 1, 2004

I still run into lots of folks who don’t really understand graphic image formats and image resolution. It can make a big difference in how images appear in their final form. It sure was confusing for me when I was starting out. Here’s the lowdown.

There are 2 main categories of electronic images:

  • vector
  • raster

Vini, Vidi, Vector

Vector images are fomats that use mathematical equations to represent the lines, curves, etc of your image and therefore are much lower in size on your hard drive than a raster image. As long as you keep the image as a vector format you can resize it with no loss of clarity, over and over again.

Adobe Illustrator is one example of an application that produces vector images. Vector images are great for images that have more areas of flat colour. Passing your logo around as a vector image is good because people can resize them and it will remain crisp when printed or exported. Vector images are not good formats for images like photographs, which don't often have areas of flat colour. Common vector image file types end with these file extensions:

  • .EPS
  • .AI

Rast, Raster, Rastest

Raster images use dots (ink dots when on paper, pixels on your screen) to represent your image. Raster images describe every dot of your image as a colour and a bit depth and where it is in relation to other dots in the image, so it is therefore much larger than a vector image. Raster images get "fuzzy" when you make them larger than the original because your computer has to guess (interpolate) what dots should come between the other dots to make the new dots it needs for the larger size. Raster images are generally OK to shrink down, though if you have an application that allows it you should "sharpen" the image after shrinking to make it crisper. Adobe Photoshop is one example of an application that produces raster images, though it also now incorporates some vector formatting. On a PC, Paint is a raster application but it doesn't have many tools because it's free. Raster images are great formats for photographs. Common raster image file types end with these file extensions:

  • .PSD
  • .TIF (or .TIFF)
  • .BMP

Rast, Raster, Rastest

.GIF and .JPG are special raster formats. They are compressed formats and should not be used until you are ready for the final stage of image processing. For example if you've been in Photoshop touching up a photo you should be saving that file as a PSD (Photoshop document) then when you are ready to put that image on, say, a web page, you save another version out as a JPG or GIF. Often, photos generally save out for the best as a JPG, and vector images as GIF, though that’s far from a hard and fast rule.

Every time you re-save a JPG (or GIF if you choose less colours than the original GIF) you re-compress it, lowering the quality. That’s why these file types are best when created from the source document. JPG and GIF are not very good files to use as original source images. One exception is that some JPGs are saved out with very slight compression, set to 100, which compresses the image just enough to bring the file size down to a more acceptable size but also does not ditch too much data. Another exception would be if your original has 256 or less colours, in which case the GIF format could save it out exactly as the original.

Here's a more detailed look at image types.

Blog terms:

John is talented and designed excellent banner advertisements for us. John meets all deadlines and gives attention to details. Will work with again. Thanks. Hire him!

Tony Suzton Company, Inc.
Copyright ©2001-2012 Way Cool Web Design LLC. All Rights Reserved.