Automic VaultAutomic Vault

brew

Install sng with Homebrew, apt, dnf, Nix

Enable lossless editing of PNGs via a textual representation. Version 1.1.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install sng

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install sng

Debian stable package indexes · sng · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install sng

Fedora Rawhide package metadata · sng · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#sng

nixpkgs package indexes · pkgs/by-name/sn/sng/package.nix · source: api.github.com

overview

Package summary

Enable lossless editing of PNGs via a textual representation

Commands and aliases

  • sng

history

Project history and usage

SNG, Scriptable Network Graphics, is a textual representation for PNG files plus a compiler/decompiler named sng. It enables lossless editing of PNG structure and ancillary chunks using text tools.

Project history

The official NEWS file records a private pre-alpha release in December 1999, a public alpha days later, and a 1.0.0 production release in July 2001. The project is maintained by Eric S. Raymond and hosted on SourceForge with an official Git code browser.

Adoption history

SNG has stayed small but packageable: the official README says the code is commonly packaged as sng, and the supplied package facts list Homebrew, Debian/Ubuntu, Fedora, and Nix packages.

How it is used

The sng program translates PNG to SNG and SNG back to PNG. Official documentation emphasizes viewing and editing obscure ancillary chunks and generating PNG content from scripts.

Why package nerds care

SNG is classic Unix packaging material: a small C command-line tool, a man page, a regression test, libpng dependency, and a stable file-format niche that has survived many libpng transitions.

Timeline

  • 1999: Pre-alpha private release and public alpha release.
  • 2001: 1.0.0 production release.
  • 2015: 1.1.0 release updates libpng compatibility and fixes Mac OS X color database lookup.
  • 2024: 1.1.1 improves documentation and drops autoconfig.
  • 2026: 1.1.2 release listed on the official resource page.

Related projects

  • The official homepage relates SNG to PNG, libpng, the PNG test suite, and gif2png.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 10 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
sngcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.1.1
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://sng.sourceforge.net/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://sng.sourceforge.net/none confidence

install metadata

Package metadata

Package keybrew:sng
Version1.1.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/sng
Homepagehttps://sng.sourceforge.net/
Repositoryhttps://sourceforge.net/p/sng/code
Upstream docshttps://sng.sourceforge.net/
LicenseZlib
Source archivehttps://downloads.sourceforge.net/project/sng/sng-1.1.1.tar.xz
Dependencieslibpng, xorgrgb
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesng
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

sng 1.1.1-1

specialized markup language for representing PNG contents

http://sng.sourceforge.net/

sudo apt install sng
  • Section: graphics
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Sng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: sng from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

sng

nix profile install nixpkgs#sng
  • normalized package name match
  • Matched by: Sng
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sn/sng/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

sng 1.1.0-4build2

specialized markup language for representing PNG contents

http://sng.sourceforge.net/

sudo apt install sng
  • Section: universe/graphics
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Sng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: sng from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

sng 1.1.1-8.fc44

Lossless editing of PNGs via a textual representation

https://sng.sourceforge.net/

sudo dnf install sng
  • License: Zlib
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: sng
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Sng
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sng from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment