aboutsummaryrefslogtreecommitdiff
path: root/modules/images.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-14 15:20:05 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-14 15:20:05 +0300
commitbb2732c1c7349490fe39f536e487c720449c85f7 (patch)
treecd2474229da1615825503bdc276fc145c52da2aa /modules/images.py
parentc4e90bf6893eb61cbc9f5a8bcc71aa4a2c344d8f (diff)
updates for exif comments #446
Diffstat (limited to 'modules/images.py')
-rw-r--r--modules/images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/images.py b/modules/images.py
index db68f405..960f25c2 100644
--- a/modules/images.py
+++ b/modules/images.py
@@ -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: