Vector graphics
Vector graphics refers to images that are made up of lines and shapes rather than a collection of pixels (referred to as raster graphics). Whilst these images can be slower to load, they're excellent for drawing perfect images at any scale. As computer screens and smart phones have continued to increase their pixel density, measured in Dots Per Inch (DPI), it has become more difficult to produce raster graphics that look good on all devices. Platforms such as iOS have historically approached this by requiring multiple files of the same content at different resolutions—such as Icon.png, Icon@2x.png, and Icon@3x.png (which could be, for example, 60 x 60, 120 x 120, or 180 x 180 pixels, respectively)—so that the closest match ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access