Skip to content

mew-cx/sng

Repository files navigation

		sng -- a compiler for an editable PNG representation

SNG (Scriptable Network Graphics) is a minilanguage designed to
reflect the data and structure of PNG (Portable Network Graphics)
files in an editable form.  

The sng program translates between SNG and PNG.  It can be useful
especially for viewing and editing data in obscure ancillary chunks
that graphics editors won't handle.  Also, since SNG is easy to
generate from scripts, sng may be useful at the end of a pipeline that
programmatically generates PNG images.

This program requires libpng-1.2 or later.  Older versions might still
work, but are neither tested against nor supported.

For more details, consult the manual page.  Files in this distribution:

README		this file
Makefile	Makefile for building sng
sng.h		common declarations for compiler and decompiler
main.c		handle options
sng.1		the manual page 
sngc.c		SNG to PNG compiler
sngd.c		PNG to SNG decompiler
test.sng	Test file exercising all chunk types
TODO		unfinished business
sng_regress	regression-test harness for sng

The sng code has been tested on all of the non-broken images in the PNG 
test suite at <http://www.cdrom.com/pub/png/pngsuite.html> using sng_regress.
You can type 'make check' for a basic regression test.

						Eric S. Raymond
						[email protected]
						http://www.catb.org

About

Forked from ESR's SNG Project

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published