See http://bellard.org/bpg/ BPG is a high-efficiency image compression format based on the HEVC Main 4:4:4 16 Still Picture Profile. As you can see at http://xooyoozoo.github.io/yolo-octo-bugfixes/ (which uses a JS-based decoder), it achieves significantly better quality per size than JPEG. BPG can be decoded natively using either libbpg (which in turn uses a minimal subset of the LGPL libavcodec and libavutil libraries), or with a hardware HEVC decoder on devices that support it.