Skip to content

Error reading tag from Photomechanic #327

Open
@LaptopHeaven

Description

@LaptopHeaven

Ran into an issue working with certain images exported from photomechanic.
Looks like it's appending multiple null values to the end of the XMP data.

I was able to pinpoint the problem and fix it here.

if (data[data.Length - 1] == '\0')

From
if (data[data.Length - 1] == '\0')

To
while (data.Length > 0 && data[data.Length - 1] == '\0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions