Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support identification of PNG additional data #1661

Open
brachna opened this issue Jan 6, 2025 · 0 comments
Open

Support identification of PNG additional data #1661

brachna opened this issue Jan 6, 2025 · 0 comments

Comments

@brachna
Copy link

brachna commented Jan 6, 2025

PNG can have additional data inside it (I believe Hydrus' own png plugins use it).

I know of 2 examples of this:

  1. Koikatsu exports pngs with scene data information.
  2. ComfyUI exports generated pngs with their workflows inside them (Understanding Image Compatibility in ComfyUI Workflows: PNG vs. JPEG Formats comfyanonymous/ComfyUI#1533)
    There might be more of course.

Right now Hydrus doesn't detect it. When I filter Koikatsu scene data pngs and add these tags:
system:no embedded metadata
system:no exif
They still all show up.

It's very important for duplicate processing. So when you encounter such PNG you have no clue if it does contain additional data, you just see it's larger.
Adding support for this will also make it easy to find such files.

So my request is for Hydrus to detect such additional png data and show if it's there in duplicate processing decision.
Like "this png file contains additional data".
Also add system tag like "system:additional data".

@brachna brachna changed the title Support indentification of PNG additional data Support identification of PNG additional data Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant