Skip to content

fingolfin/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
						esr@thyrsus.com
						http://www.catb.org

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published