Skip to content

D4yvid/p2c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p2c

A simple PNG to C compiler (P2C)

Usage:

$ ./p2c -i <input file> -o <output file>
$ ./p2c -h
PNG 2 C Compiler
version: 0.1-dev

Usage:
        -i              The input file used to convert
        -o              The output file to write after converting
        -f              Set the pixel indexing format (use -f -l to list all)
        -v              Show the program version
        -h              Show this help menu

Examples

See examples/print_image.c

Building

$ git submodule update --init --recursive       # Clone the STB repository
$ make                                          # Build the p2c binary

Testing

$ make test

About

A simple PNG to C compiler (P2C)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published