diff --git a/modules/images.py b/modules/images.py index 50b0e099..702c5609 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 not os.path.exists(fullfn): break - if extension.lower() in ("jpg", "jpeg"): + if extension.lower() in ("jpg", "jpeg", "webp"): exif_bytes = piexif.dump({ "Exif": { piexif.ExifIFD.UserComment: info.encode("utf8"),