Skip to content

[Feature]: Read and write JPEG title, artist, description, copyright and year through Exif, XMP and IPTC #167

In progress

Description

@decriptor

Problem

After #153, a JPEG opens and its Comment (the COM marker) can be read and edited. A Comment edit also updates exif:UserComment in XMP and removes the old Exif copies. JPEG Title, Artist, Description, Copyright and Year read as null, though, and assigning them changes nothing. #111 asks for JPEG EXIF, IPTC and XMP.

Proposed solution

Read and write those fields:

  • Exif: IFD0 ImageDescription, Artist, Copyright, XPTitle and DateTimeOriginal.
  • XMP: dc:title, dc:creator, dc:description, dc:rights and xmp:CreateDate.
  • IPTC: the IPTC-IIM block in APP13 Photoshop IRB, which is new.

Pick a precedence rule for when they disagree. Writing in place should reuse #153's plain-Exif gate, maker-note protection and chunked path save.

Context

This is part of #111.

Activity

  1. added
    enhancement
    on Nov 29, 2026
  2. decriptor commented on Dec 3, 2026

    @decriptor
    OwnerAuthor

    Title is done in #186 (96ca3b0). The JPEG title is read from XMP dc:title, or from IFD0 XPTitle when the XMP has none. A set writes one x-default dc:title (a new XMP segment is added when the file has none), and a set or clear removes every XPTitle, so ExifTool, Exiv2, macOS ImageIO and TagLib# show the new title. A title whose XMP would not fit one 64 KB segment is refused.

    Still open here: Artist, Description, Copyright and Year, and IPTC. IPTC ObjectName and Exif ImageDescription are not changed by a title edit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions