Back to Eric's Home Page Up to Site Map 28 Feb 2001

Powered by:

The SNG home page

SNG (Scriptable Network Graphics) is a minilanguage designed specifically to represent the entire contents of a PNG (Portable Network Graphics) file in an editable form. Thus, SNGs representing elaborate graphics images and ancillary chunk data can be readily generated or modified using only text tools.

SNG is implemented by a compiler/decompiler called sng that losslessly translates between SNG and PNG.

The current version is 0.9.4. The program is now in beta release. It is quite functional, and has been tested on all 155 of the non-broken images in the png test suite, but the design of SNG is not yet frozen. The syntax of the language may change (possibly radically) before a production release.

Downloads are available from SNG's SourceForge page.

Note: To use sng, you will need to install libpng-1.0.9beta7 or later. You can download it here).

(I am a credited contributor to the libpng reference library, and also maintain gif2png. For more information on the PNG format and associated tools, see the official PNG website)


Back to Eric's Home Page Up to Site Map 28 Feb 2001

Eric S. Raymond <esr@thyrsus.com>