Raster images represent images as grids of pixels and correspond directly to what is displayed on a screen. Vector images use geometric primitives and mathematical equations to represent images. Both formats have advantages and limitations depending on the situation. Anti-aliasing is a technique used to minimize aliasing artifacts when representing high-resolution images at lower resolutions.