Local Palette Encoding (LPE) is a lossy image compression format that provides a compression ratio of 6.4:1 in most cases 1 and acceptable image quality using only simple integer math.
A mountain range, as passed through LPE. The LPE file is 92.1 kB in size.
1 As long as both the height and width of the original bitmap are divisible by 8, this compression ratio is guaranteed. As an example, a 9x9 image will take up the same amount of space as a 16x16 one.
- LPE Specification - Specification of the LPE file format
- LPE gallery - Gallery of images passed through LPE.
- liblpe - The reference implementation of LPE
- lpe-utils - Utilities to convert between bitmaps to LPE files
- lpe-web - Hacky JavaScript+WASM script that allows LPE files to be used on websites.