BSD Ports

graphics/libbpg 0.9.2nb1 NetBSD

Better Portable Graphics image format library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
e282cfb26b
License
modified-bsd
Categories
graphics
Package size
280.5 KiB, 725.0 KiB installed

Description

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: 71 KB).

  • Based on a subset of the HEVC open video compression standard.

  • Supports the same chroma formats as JPEG (grayscale, YCbCr 4:2:0, 4:2:2, 4:4:4) 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.

In the other systems

SystemPortVersion
NetBSDgraphics/libbpg0.9.2nb1
FreeBSDgraphics/libbpg0.9.8_6
DragonFlygraphics/libbpg0.9.8_3

Install

Binary package:

pkgin install libbpg

From pkgsrc:

cd /usr/pkgsrc/graphics/libbpg && make install clean

Dependencies

Run dependencies 2

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
e282cfb26b wiz *: add LDFLAGS overide that was previously in mk
This is a workaround and should be fixed properly per-package - they should use the pkgsrc LDFLAGS, but this restores what happened before the mk/ cleanup. Fixes relro build for packages that do not honor LDFLAGS. Package list provided by mef@, thanks! Workaround commit requested by bsiegert on tech-pkg.