-
Notifications
You must be signed in to change notification settings - Fork 70
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
[BUG] - Incompatible with latest Stable Swarm UI #60
Comments
It seems like the new version of StableSwarmUI has changed the structure of metadata and is completely incompatible with the old version. I will support the new version asap. Previous versions of the metadata contained data in both StableSwarmUI format and A1111 format, thus it could be read by both StableSwarmUI and A1111. However, in this version, the StableSwarmUI data has been moved to the location originally reserved for storing A1111 data, therefore it can still be read by A1111, but in an incompatible format. |
BTW, I just realised that the JPGs generated by StableSwarmUI only show some mojibake when read by pnginfo. Although I have added a new JPG parser, I think once the author of StableSwarmUI realises this issue, they will once again change the method of storing metadata. |
Please try version 1.3.4.post1 |
I tried version 1.3.4.post1 and it works now! Thank you! ❤ |
|
@mcmonkey4eva I’ve been using the same module and method as A1111 for reading and writing JPG UserComment, I would like to share some insights that might interest you. The A1111 utilises piexif for managing UserComment (a module that hasn’t been updated in four years). |
Oh, lol. |
I personally agree with your opinion, and this should be considered a legacy issue. I think A1111 should replace piexif with a different library. |
Description
It worked with images generated by Stable Swarm until I updated Stable Swarm, then it stopped working.
Also it would be great if it was possible to have option to read raw metadata, for robustness. auto1111 png info does this, and as a result, even an ancient version of png info can read metadata from latest Stable Swarm.
This is its metadata as read by auto1111 PNG Info:
Reproduction steps
No response
Image file
Version
1.3.4
OS
Windows
Tool
StableSwarmUI
The text was updated successfully, but these errors were encountered: