Skip to content

Metadata loss converting png->jxl->png #132

@thequver

Description

@thequver

Version

1.2.2

OS

Windows

Description

Hello, I encountered a problem while converting comfyui output png images into a jxl. I encoded the image then used jpeg reconstruction +png fallback to restore the original image. The metadata comfyui uses to save its workflow is lost on both encoder-preserve or exiftool-preserve options. It looks like this in exiftool gui:
Image

An image example containing the metadata:
Image

Steps to Reproduce

  1. Set encoder-preserve or exiftool-preserve in the app settings
  2. Try to convert an example image into jxl
  3. Restore the image back to png
  4. Check the metadata

Expected Result

Metadata is preserved

Current Result

Metadata is lost

Input Formats

png

Selected Format / Mode

JPEG XL lossless

Additional Information (Optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions