8000 GitHub - apre/png2c: a small fast tool to convert a png file into a C file that can be embedeed
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

apre/png2c

Repository files navigation

png2c

a small fast tool to convert a png file into a C file that can be embedeed. It has been taken from http://zarb.org/~gc/html/libpng.html and customized to my needs.

Build instruction

Requierements: libpng

make should build the tool.

gcc png2c.c -lpng -o png2c

Usage

./png2c tests/tux.png deleteme.png

Build on windows

Install from the gnuwin32 project:

  • zlib (developer package)
  • libpng
  • popt

Set the global envionment variable GNUWIN32 to the root where you installed gnuwin32 packages. This must be the directory that contains the "lib", "include", "bin" subdisectories.

Then you should be able to build the visual studio project provided.

About

a small fast tool to convert a png file into a C file that can be embedeed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0