The former is the representation of images as an array of pixlels, and the latter uses paths, points, lines, curves and shapes or polygons (which are all based upon mathematical equations) for the same purpose. In computer graphics images can be represented in two ways - using raster graphics (or bitmap) or vector graphics.