Bug#1077638: ITP: golang-github-bep-imagemeta -- Go library for reading EXIF, IPTC and XMP image metadata
Package: wnpp
Severity: wishlist
Owner: Anthony Fok <foka@debian.org>
* Package name : golang-github-bep-imagemeta
Version : 0.7.4-1
Upstream Author : Bjørn Erik Pedersen
* URL : https://github.com/bep/imagemeta
* License : Expat
Programming Lang: Go
Description : Go library for reading EXIF, IPTC and XMP image metadata
github.com/bep/imagedata is a Go library for reading EXIF, IPTC and XMP
image metadata from JPEG, TIFF, PNG, and WebP files.
.
This is about READING image metadata
Writing is not supported, and never will.
.
The output of this library is tested against exiftool -n -json.
This means, for example, that:
.
* We use f-numbers and not APEX for aperture values.
* We use seconds and not APEX for shutter speed values.
* EXIF field definitions are fetched from this table:
https://exiftool.org/TagNames/EXIF.html
* IPTC field definitions are fetched from this table:
https://exiftool.org/TagNames/IPTC.html
* The XMP handling is currently very simple, you can supply your own
XMP handler (see the HandleXMP option) if you need more.
.
There are some subtle differences in output:
.
* Exiftool prints rationale number arrays as space formatted strings
with a format/precision that seems unnecessary hard to replicate,
so we use strconv.FormatFloat(f, 'f', -1, 64) for these.
Reason for packaging: Dependency of hugo (>= 0.130.0)
Reply to: