There are two types of files.
1. Bitmaps are composed of pixels.
Raster images are more commonly called bitmap images. A bitmap image uses a grid of individual pixels where each pixel can be a different color or shade.
The following file types are ALWAYS raster-based:
.jpg | .gif | .png | .tif | .bmp |
2. Vector graphics are composed of paths.
Vector graphics use mathematical relationships between points and the paths connecting them to describe an image.
The following file types are OFTEN vector-based:
.ai | .cdr | .eps | .pdf | .ps | .wmf
The above file types can be raster, vector or a combination of both, depending on the contents embedded. Just because a file has an .eps extension, does not make it vector. Likewise, you CAN NOT take a .jpg and change the extension to .eps to convert it from raster to vector.
|Bitmap Image||Vector Graphic|
The image to the left above is representative of a bitmap and the image to the right is representative of a vector graphic viewed in outline mode. They are shown at four times actual size to exaggerate the fact that the edges of a bitmap become jagged as it is scaled up.
Bitmap images require higher resolutions and anti-aliasing for a smooth appearance. Vector-based graphics on the other hand are mathematically described and appear smooth at any size or resolution.
Bitmaps are best used for photographs and images with subtle shading. Graphics best suited for the vector format are page layout, type, line art or illustrations.
Wherever possible use the vector format for all your type, line art and illustrations and only use bitmaps for photos or images with complex or non-uniform shading. If the graphics application recognizes native vector files such as those created by Adobe Illustrator® (a filename with an extension of .AI), CorelDRAW® (a filename with an extension of .CDR), then use them first.
The EPS File Format
If the graphics application you are using cannot read native vector files the next best thing would be to save them as EPS (Encapsulated PostScript) files. These are self-contained PostScript files which contain the same mathematical descriptions as the vector files they are made from. Even bitmaps can be saved in the EPS file format. EPS files are supported by most all graphics applications. It is the most portable format for this reason. It is best to use EPS files for all line art and illustrations because they can be reproduced at any size or resolution and still display exactly as they were drawn. Use them wherever native vector files cannot be used.