mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 05:12:35 +00:00
updates for exif comments #446
This commit is contained in:
@@ -325,7 +325,7 @@ def save_image(image, path, basename, seed=None, prompt=None, extension='png', i
|
||||
if extension.lower() in ("jpg", "jpeg", "webp"):
|
||||
exif_bytes = piexif.dump({
|
||||
"Exif": {
|
||||
piexif.ExifIFD.UserComment: piexif.helper.UserComment.dump(info)
|
||||
piexif.ExifIFD.UserComment: piexif.helper.UserComment.dump(info, encoding="unicode")
|
||||
},
|
||||
})
|
||||
else:
|
||||
|
Reference in New Issue
Block a user