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
| System | Port | Version |
|---|---|---|
| FreeBSD | graphics/libbpg | 0.9.8_6 |
| NetBSD | graphics/libbpg | 0.9.2nb1 |
| DragonFly | graphics/libbpg | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.9.8_6 | 0.9.8_6 | 0.9.8 | 0.9.8_3 | 0.9.8_6 |
| FreeBSD:14:quarterly | 0.9.8_4 | 0.9.8_4 | n/a | 0.9.8_3 | 0.9.8_4 |
| FreeBSD:15:latest | 0.9.8_6 | 0.9.8_6 | n/a | 0.9.8_3 | 0.9.8_3 |
| FreeBSD:15:quarterly | 0.9.8_4 | 0.9.8_4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.9.8_4 | 0.9.8_6 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libpng.so: graphics/png
The full lists below include those, and their dependencies in turn.
Build dependencies 27
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/gmake
- devel/sdl12
- graphics/aalib
- graphics/giflib
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lerc
- graphics/libGLU
- graphics/libglvnd
- graphics/png
- graphics/sdl_image
- graphics/tiff
- graphics/webp
- multimedia/x265
- print/indexinfo
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrandr
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Run dependencies 25
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- devel/sdl12
- graphics/aalib
- graphics/giflib
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lerc
- graphics/libGLU
- graphics/libglvnd
- graphics/png
- graphics/sdl_image
- graphics/tiff
- graphics/webp
- multimedia/x265
- print/indexinfo
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrandr
- x11/libXrender
- x11/libxcb
- x11/xorgproto
No port depends on this one.
Configuration
Options name: graphics_libbpg
| Option | Default | Description |
|---|---|---|
| JCTVC | off | Enable JCTVC (best quality but slow) for the encoder |
| JCTVCHI | off | Use bit depths > 12 with JCTVC (experimental, need JCTVC) |
| SDL | on | Simple Direct Media Layer support |
| X265 | on | H.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
| File | Size | SHA256 |
|---|---|---|
| libbpg-0.9.8.tar.gz | 2.029021e+06 | c0788e23bdf1a7d36cb4424ccb2fae4c7789ac94949563c4ad0e2569d3bf0095 |
Master sites 1
- http://bellard.org/bpg/