sebseager / bfg

An experiment with fast lossless image conversion in C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BFG – Block-Based Fast Graphics

An experiment with fast lossless image conversion in C.

Usage

For ease of portability, BFG was written as a small C library (bfg.c and bfg.h). An example program, evaluate.c is provided, which demonstrates conversion to and from the PNG format and reports some basic statistics on the conversion.

To run evaluate.c, first compile everything together, then provide PNG files as arguments. Note that an output/ directory will be made in the program's directory, and converted images will be placed there.

make all
./evaluate <png files>

Warnings

This is experimental code and has not been rigorously tested.

Authors

Seb Seager

License

This library is available under the MIT License. See the LICENSE file for details.

About

An experiment with fast lossless image conversion in C.

License:MIT License


Languages

Language:C 70.2%Language:Python 28.9%Language:Makefile 0.9%