Skip to content
/ bfg Public

An experiment with fast lossless image conversion in C.

License

Notifications You must be signed in to change notification settings

sebseager/bfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published