BSD Ports

graphics/cgif 0.5.4 FreeBSD

GIF encoder written in C

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
705c13a697
License
MIT
Categories
graphics
Package size
13.1 KiB, 34.3 KiB installed

Description

CGIF is a fast and lightweight GIF encoder that can create GIF animations and images. Summary of the main features:

  • user-defined global or local color-palette with up to 256 colors (limit of the GIF format)
  • size-optimizations for GIF animations:
    • option to set a pixel to transparent if it has identical color in the previous frame (transparency optimization)
    • do encoding just for the rectangular area that differs from the previous frame (width/height optimization)
  • fast: a GIF with 256 colors and 1024x1024 pixels can be created in below 50 ms even on a minimalistic system
  • MIT license (permissive)
  • different options for GIF animations: static image, N repetitions, infinite repetitions
  • additional source-code for verifying the encoder after making changes
  • user-defined delay time from one frame to the next (can be set independently for each frame)
  • source-code conforms to the C99 standard

In the other systems

SystemPortVersion
FreeBSDgraphics/cgif0.5.4
OpenBSDgraphics/cgif0.3.2
DragonFlygraphics/cgif0.5.0
MidnightBSDgraphics/cgif0.5.0

Install

Binary package:

pkg install cgif

From the ports tree:

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

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

RUN_DEPENDS=	cgif>0:graphics/cgif
LIB_DEPENDS=	libcgif.so:graphics/cgif

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.5.40.5.4-0.5.00.5.4
FreeBSD:14:quarterly0.5.40.5.4n/a0.5.00.5.4
FreeBSD:15:latest0.5.40.5.4n/a0.5.00.5.0
FreeBSD:15:quarterly0.5.40.5.4n/an/an/a
FreeBSD:16:latest0.5.40.5.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Build dependencies 9

Configuration

No options to configure.

USES
meson python:env
Service scripts
none

Files

pkg-plist 6
  • include/cgif.h
  • lib/libcgif.a
  • lib/libcgif.so
  • lib/libcgif.so.0
  • lib/libcgif.so.
  • libdata/pkgconfig/cgif.pc
distinfo 1
FileSizeSHA256
dloebl-cgif-v0.5.4_GH0.tar.gz4002883a70a15bc2da41f081a44ebc58ee48e2e1d524a6d3fdb4a24064afa08d5ad4d

Commit history 1

DateCommitCreditsLog message
705c13a697 Po-Chuan Hsieh graphics/cgif: Update to 0.5.4
Changes: https://github.com/dloebl/cgif/releases