A raster graphics editor is a computer program that allows users to create and edit images interactively on the computer screen and save them in one of many "bitmap" or "raster" formats such as JPEG, PNG, GIF and TIFF.
An image viewer program is usually preferred over a raster graphics editor for viewing images.
Vector graphics editors are often contrasted with raster graphics editors, yet their capabilities complement each other. The technical difference between vector and raster editors stem from the difference between vector and raster images. Vector graphics are created mathematically, using geometric formulas. Each element is created and manipulated numerically; essentially using Cartesian coordinates for the placement of key points, and then a mathematical algorithm to connect the dots and define the colors.
Raster images include digital photos. A raster image is made up of rows and columns of dots, called pixels, and is generally more photo-realistic. This is the standard form for digital cameras; whether it be a .raw file or .jpg file, the concept is the same. The image is represented pixel by pixel, like a microscopic jigsaw puzzle.
Vector editors tend to be better suited for graphic design, page layout, typography, logos, sharp-edged artistic illustrations, e.g., cartoons, clip art, complex geometric patterns, technical illustrations, diagramming and flowcharting.