BSD Ports

graphics/flif 0.4 FreeBSD

Free Lossless Image Format

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
0b23c55e5d
License
APACHE20
Categories
graphics
Package size
679.3 KiB, 6552.3 KiB installed

Description

FLIF is a lossless image format based on MANIAC compression. MANIAC (Meta-Adaptive Near-zero Integer Arithmetic Coding) is a variant of CABAC (context-adaptive binary arithmetic coding), where the contexts are nodes of decision trees which are dynamically learned at encode time.

FLIF outperforms PNG, FFV1, lossless WebP, lossless BPG and lossless JPEG2000 in terms of compression ratio.

Moreover, FLIF supports a form of progressive interlacing (essentially a generalization/improvement of PNG's Adam7) which means that any prefix (e.g. partial download) of a compressed file can be used as a reasonable lossy encoding of the entire image.

In the other systems

SystemPortVersion
FreeBSDgraphics/flif0.4
DragonFlygraphics/flif0.4

Install

Binary package:

pkg install flif

From the ports tree:

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

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

RUN_DEPENDS=	flif>0:graphics/flif
LIB_DEPENDS=	libflif.so:graphics/flif

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.40.4-0.40.4
FreeBSD:14:quarterly0.40.4n/a0.40.4
FreeBSD:15:latest0.40.4n/a0.40.4
FreeBSD:15:quarterly0.40.4n/an/an/a
FreeBSD:16:latest0.40.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

Test 1

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

Build dependencies 64
Run dependencies 55

No port depends on this one.

Configuration

No options to configure.

USES
cmake compiler:c++11-lang cpe gettext-runtime gnome localbase:ldflags pkgconfig sdl shared-mime-info
Service scripts
none

Files

Manual pages 1
  • flif(1)
pkg-plist 18
  • bin/apng2flif
  • bin/dflif
  • bin/flif
  • bin/gif2flif
  • bin/viewflif
  • include/flif.h
  • include/flif_common.h
  • include/flif_dec.h
  • include/flif_enc.h
  • lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-flif.a
  • lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-flif.so
  • lib/libflif.so
  • lib/libflif.so.0
  • lib/libflif_dec.so
  • lib/libflif_dec.so.0
  • share/man/man1/flif.1.gz
  • share/FLIF/flif.magic
  • share/mime/packages/flif-mime.xml
distinfo 1
FileSizeSHA256
FLIF-hub-FLIF-v0.4_GH0.tar.gz2.799009e+06cc98313ef0dbfef65d72bc21f730edf2a97a414f14bd73ad424368ce032fdb7f

Commit history 2

DateCommitCreditsLog message
0b23c55e5d Yuri Victorovich */*: CMake 4.5 compatibility
PR: 295319
369f920150 Mikhail T. graphics/flif: remove inotify, add testing support
This port will be deprecated once the only user would stop using it. Successor: graphics/libjxl PR: 276207