1. Home
  2. Computing & Technology
  3. Animation

What's the benefit of vector animation vs. raster animation?

By Adrien-Luc Sanders, About.com

Question: What's the benefit of vector animation vs. raster animation?

There are two different ways to animate images: using vector-based images, or using raster-based images. While sometimes it's hard to tell the difference between the two, sometimes it's only glaringly apparent why vector images and animation are preferred. But why?

Answer: The main difference between vector and raster format is how the data is stored. Vector formats store image information as a series of points, curves, and colors as mathematical data; raster format stores pixel data and has to save information about the color of every pixel in the image. The raster format has two main disadvantages:
  • Image size. Pixel-by-pixel data is a lot of information to store, and can really start to stack up on high-quality images.
  • Image quality on resize. When you resize a raster image, the data doesn't scale well; if you shrink it, you lose pixel data as larger areas merge into smaller ones. If you enlarge it, you end up with a jagged image as single-pixel data has to expand to fill multiple pixels via messy interpolation.

In contrast, vector images can store more colors and shapes in less space while resizing smoothly, because the lines, curves, and fills are just recalculated during scaling to create a more precise image.

More Animation Q&A
Explore Animation
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Animation
  4. FAQs and Glossary Terms
  5. FAQs
  6. FAQ: What's the benefit of vector animation vs. raster animation?

©2009 About.com, a part of The New York Times Company.

All rights reserved.