Cgif

Jul 20, 2023

GIF encoder written in C

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


Checkout these related ports:
  • Zphoto - Zooming photo album generator
  • Zint - Barcode generator (library and utilities)
  • Zimg - Image-generator that uses ASCII input files to create PNGs/EDFs
  • Zgv - Graphics viewer for SVGAlib
  • Zbar - ZBar barcode reader
  • Zathura - Customizable lightweight pdf viewer
  • Zathura-ps - PostScript support for Zathura PDF viewer
  • Zathura-pdf-poppler - Poppler render PDF plugin for Zathura PDF viewer
  • Zathura-pdf-mupdf - MuPDF render PDF plugin for Zathura PDF viewer
  • Zathura-djvu - DjVu support for zathura
  • Zathura-cb - Comic book plugin for Zathura PDF viewer
  • Yukon - Real-time capture tool for OpenGL applications
  • Yed - Editor for graphs and diagrams
  • Yafaray - Montecarlo raytracing engine
  • Yacreader - Yet another comic reader