You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
23 more IPTC fields on every still type ImageXMP writes: Headline, Job Title, Description Writer, the eight creator contact fields, Copyright Status, Usage Terms, Web Statement, Credit Line, Source, Country Code, Job ID, Instructions, Event, Persons Shown, Organizations Shown and Genre. The contact fields are written as one rebuilt struct, so changing or clearing one keeps the others. Headline is kept in step at Iptc4xmpExt:Headline.
Changed
XMPField now describes each field once: namespace, local name, value shape, ImageIO crosswalk and whether a write removes the container first. XMPMetadata stores values by field, keeps the named properties as accessors and is Codable keyed by field.
Error messages use hyphens where they had dashes.
Fixed
A PNG with several dc:creator values keeps all of them on read and save. ImageIO's merged metadata holds only the first, so ImageXMP parses the PNG's iTXt packet itself.
Metadata saved to a PNG with no XMP packet is kept. ImageIO dropped the whole write while reporting success; such a PNG now gets a packet-creating write first, at the cost of one extra file write.
Saving a HEIC that already held a title, description or copyright no longer writes the field back empty or crashes in ImageIO. The rewrite drops any non-default language alternates the field held.
Other
A round-trip test over every field on JPEG, HEIC, TIFF and a packetless PNG. ImageXMP's value readers move to their own file.