Thanks to visit codestin.com
Credit goes to github.com

Skip to content

images: "Unable to decode metadata from image" warnings + silent IPTC loss (upstream bep/imagemeta#65) #14758

@LNA-DEV

Description

@LNA-DEV

Hugo emits WARN Unable to decode metadata from image: /path/...jpg for some JPEGs, and silently fails to capture IPTC metadata for others. Affected images are typically darktable /
Lightroom exports — any JPEG whose APP1 XMP segment exceeds ~4 KB and is followed by an APP13 IPTC segment.

For affected images, depending on file content:

  • Loud: warning logged, all metadata for the file is empty (.Date, .Exif.*, .XMP.* all unavailable in templates).
  • Silent: no warning, EXIF and XMP captured normally, but .IPTC is empty.

In my personal gallery of 626 JPEGs, 13 fail loudly and 247 fail silently.

Details can be found here: bep/imagemeta#65

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions