PNGMETA(1)
π PNGMETA β bestie's guide to pulling metadata out of your PNGs π
okay so this is the manual page for pngmeta, from the General Commands Manual section. sit down, grab a boba, we're doing metadata extraction and it's gonna be adorable. π§
β¨ NAME β¨
pngmeta β extract metadata from Portable Network Graphics (PNG) image files. that's the whole job. it reads your PNG and tells you what's inside its little soul. π
β¨ SYNOPSIS β¨
pngmeta [--soif] [--html] [--xrdf] [--all] [--quiet] [--uri URI]
[filename]
that's it, that's the whole vibe check. one optional filename at the end, a handful of flags up front. slay. π
β¨ DESCRIPTION β¨
so the pngmeta filter outputs the metadata from Portable Network Graphics (PNG) format image files, and it can do it in one of these four formats, bestie:
- Simple
key: valueβ the low-key, no-frills one. just the facts. - SOIF format (as used by the Harvest system, version 1.4).
As such it can be used as a Summarizer for the Harvest Essence system. it could also be used by other indexers to extract data for indexing PNG images. so like, not just a cute toy β actual infrastructure energy. π
- HTML page β with each element as an element in a descriptive (
DL) list. definition-list realness. - XML/RDF β with each element as an RDF property on the source URI. very structured, very demure, very mindful. β¨
and here's the default behaviour, no cap: in the absence of options, the program operates as a filter β accepting input from stdin and sending output to stdout. but if a single file name is given, it is assumed to correspond to a PNG file, and is processed. one file, one job, we love to see it. π«Ά
β¨ FORMAT OPTIONS β¨
these decide what shape your output takes. pick your fighter.
--soifβ format output using (Harvest) SOIF format. this is the default if the program is calledPngImage.sum. yes, it sniffs its own name. main character behaviour fr. π--htmlβ format output in HTML, with each field/value as an element in a descriptive (DL) list.--xrdfβ format output in RDF/XML, with each field/value as an element in anrdf:Descriptionblock inside the outerrdf:RDFwrapper element. and heads up: if anXMLRDFDATAfield is found, it is assumed to be RDF/XML content and is emitted in a secondrdf:Descriptionblock. two blocks. iconic. π
β¨ OTHER OPTIONS β¨
the supporting cast. they matter. π
--allβ output all the information about the image size, depth etc. even if not usually printed. the unfiltered truth, bestie.--quietβ suppress the output of the banner for plain text output. no intro, just data. π¦--uri URIβ set the URI that is used for the SOIF and XML/RDF outputs. by default this will be the filename, or"stdin"if this is the program is used as a filter.--helpβ show a usage message. when in doubt, ask for help, that's growth. πΈ--versionβ show the program and library versions. receipts! πΈ
β¨ FILES β¨
pngmetaβ executable. that's the file. that's the list. periodt. π
β¨ SEE ALSO β¨
go read these too, they're all part of the friend group:
gif2png(1), libpng(3), pbm(1), pgm(1), pngcheck(1), pngtopnm(1), pnm(5), pnmgamma(1), pnmtopng(1), ptot(1), tiff2png(1), zlib(3)
for information about Harvest and its SOIF format:
http://harvest.cs.colorado.edu/
for PNG:
http://www.libpng.org/pub/png/
for libpng library:
http://www.libpng.org/pub/png/libpng.html
http://libpng.sourceforge.net
for zlib library:
http://www.zlib.net/
β¨ AUTHORS β¨
okay, credit where credit is due, and there's a lot of it: π
Version 1.11. Dave Beckett, ILRT, University of Bristol, http://purl.org/net/dajobe/ β we stan. π
The zlib(3) library required by pngmeta is copyright (C) 1995-1996 Jean-loup Gailly and Mark Adler. protect them at all costs. π«Ά
Original UNIX manual page by R. P. C. Rodgers, U.S. National Library of Medicine (rodgers@nlm.nih.gov). the OG. respect. π
and that's the whole page, bestie!! this one's from PNGMETA(1), dated 10 March 1998 β old enough to be vintage, still serving looks. go forth and extract those metadata, iykyk πβ¨ππ¦πΈπ
π¦ where this page comes from
- debian bookworm: pngmeta 1.11-10 Β· libpng
- debian trixie: pngmeta 1.11-10+b1 Β· libpng
- ubuntu jammy: pngmeta 1.11-9
- ubuntu noble: pngmeta 1.11-10build2 Β· libpng
- ubuntu questing: pngmeta 1.11-10build2
- ubuntu resolute: pngmeta 1.11-10build3 Β· libpng
- ubuntu stonking: pngmeta 1.11-11 Β· libpng
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms