MAGICtricks
return
Return to Graphics Page

Vector vs Bitmap (Raster) Graphics

Which should you use?

Graphics fall into to two main categories:

The difference between these two types is what they're made up of. Vector graphics are made up of lines and curves. Bitmap graphics are made up of little squares called pixels.

Let's go to the graphics...

Here is a very simple image made up of a red circle and a black line.


Notice that even blown up this large (1600%), it's still fairly smooth when displayed as a vector. You only see a little bit of jagginess because your monitor can only display this graphic using pixels. If you were to print it out, you'd see that it's as smooth as the same graphic at 100%...


Here's the same image - except it's a bitmap graphic - blown up by 1000% (a lesser amount than the vector image above). Doesn't look the same does it? You can see obvious jagginess or "stairstepping"...


Basically, when you enlarge a bitmap graphic you'll notice pixelation (jaggies or stairstepping shown above). That's because the software has to guess where to put the extra pixels. Using "dithering" may provide some apparent reduction of the jaggies.

When you reduce the graphic, the software has to decide which pixels to throw out. Both the addition and discarding of pixels in software is what's know as interpolation. You'll usually get less pixelation if you reduce or enlarge by even amounts, like 25%, 50%, and 75%.

Graphics File Formats

There's a bewildering amount of graphics file formats out there. When the pixels settle, the most common file formats in the graphic design world can be counted on two hands.

A word about ""native formats": almost every software program has a file format that is native to that program, and that program alone. Photoshop's is PSD; CorelDRAW! is CDR; and so on. Always save your graphic in your software's native format before saving it in the file format you'll be using in the end. That makes it really easy to make changes to the original graphic.

So which format do you use?

Hopefully by now you understand the difference between bitmap and vector graphics. You may even already suspect when you should use which. But I won't leave you wondering.

At the moment, the only format that can be easily viewed on the Web is bitmap graphics, GIF and JPG . There are a few vector formats that can be viewed on the Web, but as of this writing, they all require plugins. Your viewers shouldn't be left in the cold if they don't happen to have a plugin installed.

Given the limitations of the bitmap format, you may be wondering why you'd ever use it outside of the Web. If you scan a photograph, you'll be forced to save it as a bitmap; the same is true of digital pictures.

Vector graphics are great because of their easy scaleability. Be careful, though: EPS graphics require a PostScript printer to print correctly. If you try to print an EPS graphic to a non-PostScript printer, the only thing that will print is the low resolution header.

On the Windows platform, WMF is a common vector format. But if you'll be going to a service bureau, chances are they won't know what to make of your WMFs. WMF is fine if you'll be use your laser printer output as camera ready art , but if you'll be getting film run stick with EPS or AI (talk to your service bureau about what they can handle).

return

Copyright:

Made on a Mac

©Macintosh Appreciation Group of Island County (MAGIC) 2004
last updated: 15 October 2004