rastergrafikast
Rastergrafika is a method of storing and displaying digital images. It represents an image as a grid of tiny colored squares, called pixels. Each pixel has a specific location and color value. When viewed together, these pixels form a complete picture. The resolution of a raster graphic is determined by the number of pixels it contains, often expressed as width and height (e.g., 1920x1080 pixels). Higher resolution means more pixels and generally a more detailed image. Common raster file formats include JPEG, PNG, and GIF. These formats are widely used for photographs and web graphics because they can represent a wide range of colors and details. However, raster graphics can lose quality when scaled up, as the individual pixels become larger and more noticeable, leading to a blocky or pixelated appearance. This is in contrast to vector graphics, which use mathematical equations to define shapes and lines, allowing them to be scaled infinitely without loss of quality.