BSD Ports

graphics/libbpg 0.9.8_6 FreeBSD

BPG (Better Portable Graphics) is a new image format

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
e8660dbf74
License
BSD2CLAUSE, LGPL21
Categories
graphics
Package size
443.3 KiB, 2826.1 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: 56 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.
  • Animation support.

In the other systems

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

Install

Binary package:

pkg install libbpg

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libbpg>0:graphics/libbpg
LIB_DEPENDS=	libbpg.so:graphics/libbpg

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.9.8_60.9.8_60.9.80.9.8_30.9.8_6
FreeBSD:14:quarterly0.9.8_40.9.8_4n/a0.9.8_30.9.8_4
FreeBSD:15:latest0.9.8_60.9.8_6n/a0.9.8_30.9.8_3
FreeBSD:15:quarterly0.9.8_40.9.8_4n/an/an/a
FreeBSD:16:latest0.9.8_40.9.8_6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 27
Run dependencies 25

No port depends on this one.

Configuration

Options name: graphics_libbpg

OptionDefaultDescription
JCTVCoffEnable JCTVC (best quality but slow) for the encoder
JCTVCHIoffUse bit depths > 12 with JCTVC (experimental, need JCTVC)
SDLonSimple Direct Media Layer support
X265onH.265 video codec support via x265
USES
compiler:c++11-lib cpe gmake jpeg localbase:ldflags
Service scripts
none

Files

pkg-plist 8
  • bin/bpgdec
  • bin/bpgenc
  • bin/bpgview
  • include/libbpg.h
  • lib/libbpg.a
  • lib/libbpg.so.0.9
  • lib/libbpg.so.0
  • lib/libbpg.so
distinfo 1
FileSizeSHA256
libbpg-0.9.8.tar.gz2.029021e+06c0788e23bdf1a7d36cb4424ccb2fae4c7789ac94949563c4ad0e2569d3bf0095
Master sites 1
  • http://bellard.org/bpg/

Commit history 2

DateCommitCreditsLog message
e8660dbf74 Gleb Popov *: Bump PORTREVISION on multimedia/x265 consumers
PR: 299194
d98c0147b3 Gleb Popov *: Bump PORTREVISION on multimedia/x265 consumers
PR: 298481