sng
« Back to VersTracker
Description:
Enable lossless editing of PNGs via a textual representation
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Multimedia
Tags: png image-editing cli lossless graphics
Install: brew install sng
About:
Sng is a command-line tool that allows users to edit PNG images by manipulating a human-readable text representation of the file's structure. It provides a powerful and scriptable way to modify chunks, comments, and other metadata without altering the actual pixel data, ensuring lossless editing.
Key Features:
  • Lossless editing of PNG files
  • Text-based representation for easy scripting
  • Manipulation of PNG chunks and metadata
  • Command-line interface for automation
Use Cases:
  • Batch processing PNG metadata modifications
  • Adding or removing textual chunks in images
  • Debugging and analyzing PNG file structures
Alternatives:
  • pngcrush – Primarily focused on PNG optimization and compression rather than text-based editing
  • ImageMagick – General-purpose image manipulation that can modify PNGs but is not specialized for lossless chunk editing
Version History
Detected Version Rev Change Commit
Sep 15, 2025 8:51am 0 VERSION_BUMP bfd2642d
Sep 13, 2024 10:56pm 0 VERSION_BUMP abfde5eb