mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-04 07:52:46 +08:00
Limit preview to webp and RGB jpeg.
This commit is contained in:
@@ -465,12 +465,11 @@ export class ComfyUI {
|
||||
/**
|
||||
* file format for preview
|
||||
*
|
||||
* L?;format;quality
|
||||
* format;quality
|
||||
*
|
||||
* ex)
|
||||
* L;webp;50 -> grayscale, webp, quality 50
|
||||
* webp;50 -> webp, quality 50
|
||||
* jpeg;80 -> rgb, jpeg, quality 80
|
||||
* png -> rgb, png, default quality(=90)
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user