graphics/cgif 0.5.0 MidnightBSD
GIF encoder written in C
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- graphics
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
| System | Port | Version |
|---|---|---|
| MidnightBSD | graphics/cgif | 0.5.0 |
| FreeBSD | graphics/cgif | 0.5.4 |
| OpenBSD | graphics/cgif | 0.3.2 |
| DragonFly | graphics/cgif | 0.5.0 |
| HardenedBSD | graphics/cgif | 0.5.4 |
| GhostBSD | graphics/cgif | 0.5.4 |
Install
Binary package:
mport install cgif
From mports:
cd /usr/mports/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
Dependencies
No port depends on this one.
Configuration
No options to configure.
- USES
- meson
- 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
| File | Size | SHA256 |
|---|---|---|
| dloebl-cgif-v0.5.0_GH0.tar.gz | 39882 | d6cb312c7da2c6c9f310811aa3658120c0316ba130c48a012e7baf3698920fe9 |