Raster vs Vector
by jeremy on Feb.28, 2009, under Photography Articles
What is Adobe Photoshop
In simplest terms Photoshop is raster based image editing program. It has very powerful tools which can analyze and allow you to modify these pixels. Raster or bit mapped graphics are defined by a grid of pixels to Photoshop. Each pixel has a specific color value assigned to it depending what color mode you are working in it is defined differently. A pixel is usually very small so you don’t notice the individual pixels, they all combine to make up you image.
Differences between raster and vector image formats
A computer screen generally displays 72 pixels per inch and most printers work with 600-2400 pixels per inch. The terms ppi, pixels/inch, dpi, dots/inch and spi, samples/inch all are different terms for describing how the grid is laid out which is it’s resolution. The only difference between the terms are the devices being used. Scanners and monitors generally use PPI or spi. Output devices use dpi or lpi. Lpi is lines per inch which we will talk about in the future.
Drawing programs like Freehand and Illustrator are vector based which is very different. They use math to describe the shapes that make up an image. The advantage of using math to describe a shape is it doesn’t have a set resolution. The shape will display/print at the highest resolution the output device supports. This is very different then raster images which have a fixed resolution. Also fonts and therefore text is usually vector based.
The way each format handles resolution is very important. In Photoshop to achieve the highest quality you need to work at the correct resolution from the beginning. Each time you resize or alter the resolution the quality suffers.
As you can see a raster based image at 72 dpi has fairly jagged edges. When increasing the size to 200% the resolution drops to 36 dpi and it is really jagged. On the other hand a vector based image looks much less jagged since the curves are defined mathematically and resizing the image has no effect on quality.
![]() Raster based image at 100% |
![]() Vector based image at 100% |
![]() Raster based image at 200% |
![]() Vector based image at 200% |
Vector based images do have several advantages since they are describe mathematically and are resolution independent. But they do have one major disadvantage. Most photographs can’ t be described mathematically. To achieve a continuous tone image for example a photograph the most efficient way to describe it is by using a raster image format.
Below is the same image one raster based and the other vector based. The raster based image is much easier to color correct and modify, looks much better and is about one quarter the size of the vector based image. This is a very simple image, a picture of a person would be unrecognizable if it was vector based.
![]() Raster Image |
![]() Vector Image |
Common uses for raster image formats
- Continuous tone images like photographs
- Used on the web where there are no vector formats currently supported
Common uses for vector image formats
- Logos which are generally a few solid colors and need to be shown at a variety of sizes
- Creating specialized text effects
- 3D and CAD programs
Vector image formats advantages
- Resolution independent
- Smooth curves
- Small file sizes
Raster image formats advantages
- Only format that will show smooth gradients and subtle detail necessary in photographic images
- Allow for color correction much easier then vector images
Both file formats are used incorrectly by many people. Lots of people use photoshop for doing work which would be much better suited for a drawing program. You can use the wrong file format but it is much more efficient to understand the differences between the two and use the correct one.
The examples on this page are very hard to use. On the web I am limited to 72 dpi raster based images. Download the pdf for a better example.
6 Comments for this entry
1 Trackback or Pingback for this entry
-
[Paint Shop Pro] - Exporting to illustrator? - T-Shirt Forums
April 20th, 2009 on 6:23 am[...] uses pixels(raster) and illustrator is math(vector). check out this link for more information.. Raster vs Vector | NW-Media What file type are you exporting out of photoshop and trying to import into illustrator? [...]






April 7th, 2009 on 4:45 am
Hi there, first of thanks for providing very very very good defination and differences of type of images.
thanks
April 19th, 2009 on 10:42 pm
Really it WORTH !!!
July 13th, 2009 on 9:30 am
vectors are supported on the net, via flash.
you have to understand that it is not possible to have free floating objects on the current web standards, as sh**** as that is to say. vectors would solve a lot of internet speed issues, as well as portability and compatibility issues from phones, handhelds, etc that display the same size different ways.
September 10th, 2009 on 7:40 am
I am trying to learn to use Adobe Photoshop…This is a great lesson 1….Where are the others? Thanks!
September 10th, 2009 on 8:30 am
Several years ago I was asked to possibly teach a basic Photoshop class. I wrote one lesson to prepare for this opportunity. Unfortunately I didn’t end up teaching the class and this was the only lesson that was written.
Luckily this lesson is general concept that it is still relevant a few years after I wrote it.
February 8th, 2010 on 11:49 pm
Thanks for this easy clarification to the difference between raster and vector. It is a quick help for the non-graphic designers.