Libbpg

Jul 20, 2023

BPG (Better Portable Graphics) is a new image format

BPG Better Portable Graphics is a new image format. Its purpose is to replace the JPEG image format when quality or file size is an issue. Its main advantages are

  • High compression ratio. Files are much smaller than JPEG for similar quality.
  • Supported by most Web browsers with a small Javascript decoder gzipped size 56 KB.
  • Based on a subset of the HEVC open video compression standard.
  • Supports the same chroma formats as JPEG grayscale, YCbCr 420, 422, 444 to reduce the losses during the conversion. An alpha channel is supported. The RGB, YCgCo and CMYK color spaces are also supported.
  • Native support of 8 to 14 bits per channel for a higher dynamic range.
  • Lossless compression is supported.
  • Various metadata such as EXIF, ICC profile, XMP can be included.
  • Animation support.


Checkout these related ports:
  • Zphoto - Zooming photo album generator
  • Zint - Barcode generator (library and utilities)
  • Zimg - Image-generator that uses ASCII input files to create PNGs/EDFs
  • Zgv - Graphics viewer for SVGAlib
  • Zbar - ZBar barcode reader
  • Zathura - Customizable lightweight pdf viewer
  • Zathura-ps - PostScript support for Zathura PDF viewer
  • Zathura-pdf-poppler - Poppler render PDF plugin for Zathura PDF viewer
  • Zathura-pdf-mupdf - MuPDF render PDF plugin for Zathura PDF viewer
  • Zathura-djvu - DjVu support for zathura
  • Zathura-cb - Comic book plugin for Zathura PDF viewer
  • Yukon - Real-time capture tool for OpenGL applications
  • Yed - Editor for graphs and diagrams
  • Yafaray - Montecarlo raytracing engine
  • Yacreader - Yet another comic reader