PNG, Portable Network Graphics, was created in 1996 as a patent-free replacement for GIF. It compresses losslessly: the file you open has exactly the pixels that were saved, in full colour, with an optional alpha channel for transparency. Text drawn on a screen keeps its sharp edges, which is why screenshots read so cleanly.
- PNG. Compression: Lossless. Colours: Millions, plus transparency. Typical text source: Screenshots, slides and diagrams.
- JPG. Compression: Lossy. Colours: Millions. Typical text source: Camera photos of pages.
- GIF. Compression: Lossless, palette only. Colours: Up to 256. Typical text source: Old web graphics and animations.