mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-11-21 03:11:40 +08:00
AVIF has quality setting too
This commit is contained in:
parent
ddb28b33a3
commit
50bb6e1179
@ -608,7 +608,7 @@ def save_image_with_geninfo(image, geninfo, filename, extension=None, existing_p
|
||||
})
|
||||
|
||||
|
||||
image.save(filename,format=image_format, exif=exif_bytes)
|
||||
image.save(filename,format=image_format, quality=opts.jpeg_quality, exif=exif_bytes)
|
||||
elif extension.lower() == ".gif":
|
||||
image.save(filename, format=image_format, comment=geninfo)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user