3 ms·
Bitmaps are special in that they don’t require a decompression step, so of course they don’t have the overhead of a decompression step.
by mirashii 5y ago
Bitmaps are special in that they don’t require a decompression step, so of course they don’t have the overhead of a decompression step.
- Lammy 5y agoThe alternative isn't a different raster image format — it's the native drawing commands of the underlying graphics system, like QuickDraw on classic Macs or GDI on classic Windows. They work like a plotter: moving a cursor to a position on the pixel grid and giving it drawing commands. You can see the residue of those old graphics systems in the various "metafile" image formats like PICT/WMF/EMF: https://en.wikipedia.org/wiki/PICT https://en.wikipedia.org/wiki/PICT https://en.wikipedia.org/wiki/Windows_Metafile https://en.wikipedia.org/wiki/Windows_Metafile
- Talanes 5y ago> The alternative isn't a different raster image format Except that we're in a conversation about the relative resource consumption of bitmaps and png, not a conversation about what the best way to draw UI elements is.
- charcircuit 5y ago>They work like a plotter: moving a cursor to a position on the pixel grid and giving it drawing commands. This isn't how GPUs work meaning it will be slow.