
Enable lossless editing of PNGs via a textual representation.
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.
Downloads are available from SNG's SourceForge page.
(The author, Eric S. Raymond, is a credited contributor to the libpng reference library, and also maintains gif2png. For more information on the PNG format and associated tools, see the official PNG website)
| README.adoc | roadmap file |
| TODO | to-do file |
| COPYING | project license |
| NEWS.adoc | project news |
| AUTHORS | credits |
| sng-1.1.2.tar.gz | gzipped source tarball |
| README.html | roadmap file |
| sng.html | Documentation |
| NEWS.html | project news |
This code is usually packaged as 'sng'.
If you appreciate this code (and especially if you make money by using it) please support me on Patreon.
* Code haardening by ChatGPT 5.2
* Fixed a parsing error in the compiler's P3 path
* Bumerouus potential buffer overruns prevebted.
* Repaired erroneous P1/P3 dimension checks,