| 1 | Source: golang-github-bep-imagemeta |
| 2 | Section: golang |
| 3 | Maintainer: Debian Go Packaging Team <[email protected]> |
| 4 | Uploaders: Anthony Fok <[email protected]> |
| 5 | Build-Depends: debhelper-compat (= 13), |
| 6 | dh-sequence-golang, |
| 7 | golang-any, |
| 8 | golang-github-frankban-quicktest-dev (>= 1.14.5) <!nocheck>, |
| 9 | golang-github-google-go-cmp-dev (>= 0.5.9) <!nocheck>, |
| 10 | golang-github-rwcarlsen-goexif-dev (>= 0.0~git20190401.9e8deec), |
| 11 | golang-golang-x-text-dev (>= 0.16.0) |
| 12 | Testsuite: autopkgtest-pkg-go |
| 13 | Standards-Version: 4.7.4 |
| 14 | Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-bep-imagemeta |
| 15 | Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-bep-imagemeta.git |
| 16 | Homepage: https://github.com/bep/imagemeta |
| 17 | XS-Go-Import-Path: github.com/bep/imagemeta |
| 18 | |
| 19 | Package: golang-github-bep-imagemeta-dev |
| 20 | Architecture: all |
| 21 | Multi-Arch: foreign |
| 22 | Depends: golang-github-rwcarlsen-goexif-dev (>= 0.0~git20190401.9e8deec), |
| 23 | golang-golang-x-text-dev (>= 0.16.0), |
| 24 | ${misc:Depends} |
| 25 | Description: Go library for reading EXIF, IPTC and XMP image metadata |
| 26 | github.com/bep/imagedata is a Go library for reading EXIF, IPTC and XMP |
| 27 | image metadata from JPEG, TIFF, PNG, and WebP files. |
| 28 | . |
| 29 | This is about READING image metadata. |
| 30 | Writing is not supported, and never will. |
| 31 | . |
| 32 | The output of this library is tested against exiftool -n -json. |
| 33 | This means, for example, that: |
| 34 | . |
| 35 | * We use f-numbers and not APEX for aperture values. |
| 36 | * We use seconds and not APEX for shutter speed values. |
| 37 | * EXIF field definitions are fetched from this table: |
| 38 | https://exiftool.org/TagNames/EXIF.html |
| 39 | * IPTC field definitions are fetched from this table: |
| 40 | https://exiftool.org/TagNames/IPTC.html |
| 41 | * The XMP handling is currently very simple, you can supply your own |
| 42 | XMP handler (see the HandleXMP option) if you need more. |
| 43 | . |
| 44 | There are some subtle differences in output: |
| 45 | . |
| 46 | * Exiftool prints rationale number arrays as space formatted strings |
| 47 | with a format/precision that seems unnecessary hard to replicate, |
| 48 | so we use strconv.FormatFloat(f, 'f', -1, 64) for these. |