feat(read): AI-forensics read parity - #22
Merged
Merged
Conversation
- PNG IHDR: reference-named Filter/Interlace + sRGB chunk SRGBRendering with PrintConv strings - tEXt/iTXt/zTXt surface bare capitalized keywords; zTXt inflate support; text chunks yield to EXIF/XMP keys - XMP: unknown-namespace locals capitalize like reference; raw History container suppressed (stEvt flattening only); Z-suffix date normalization; GPano int typing; TAG_REMAP entries for UserComment, InvokeAI, DMI, GPano/IGPano - fix(writer): pngWriter omitted IEND CRC - every written PNG was truncated by 4 bytes - ai-parity.test.ts: reference-equal asserts on new A1111 + InvokeAI fixtures (exiftool-gated)
This was referenced Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Minimal read-tag parity for Kelp Market (retires
exiftoolFastPerl spawn):Filter,Interlace,SRGBRenderingwith reference PrintConv stringsparameters→Parameters), zTXt deflate support, text chunks yield to EXIF/XMPMetadata/Graph), rawHistorycontainer suppressed (stEvt flattening only),Z-suffix date normalization, GPano integer typing; TAG_REMAP entries forexif:UserComment, InvokeAI, DMI, GPano/IGPanopngWriteromitted the IEND CRC — every PNG written by the library was truncated 4 bytes (reference:Truncated PNG IEND chunk)Test
src/ai-parity.test.ts: reference-equal asserts on two new fixtures (06-ai-a1111.pngtEXt parameters,06-ai-invokeai.pngXMP/DMI/History), exiftool-gated skip patternexiftool -jclean on probe and fixtures