SD Viewer v0.2 is ready
Now with support for jpg, jpeg, and webp. I used this sd-prompt-reader API, but it's 30x slower than my prompt reader for pngs, so I included it for jpg/webp support, but it may be slow.
The single image viewer is also more fully featured, with the ability to zoom with the scroll wheel and pan via click and drag (same controls as standard Windows image viewer).
The next and previous buttons work again and now work with arrow keys as well.
Source
https://gitlab.com/AnpRS/sd-viewerExecutable
https://drive.proton.me/urls/5M69DX5ZQR#JCyQqt2QsRPL>>107081307>jpg+prompt fileYou save metadata in a separate prompt file? Is that a Comfy option? I know Forge saves prompt metadata in the user_comment section of jpg metadata.
>Does it not actually load the full image, only a low res placeholder?I found out you have to tell it to scale smoothly, otherwise it does nearest neighbor scaling by default, which makes it look pixelated.
>Also copy prompt and the next/previous buttons in the pic viewer dont workThe buttons should be fixed now. Copy prompt should work for pngs, and it worked for the one Forge jpg I tested. Anything with unreadable metadata should just copy "untagged" to your clipboard. Also, I think it only works on Windows, maybe?