ComfyUI/web/extensions/core
Dr.Lt.Data 9f3a19b728
improve: lightweight preview to reduce network traffic (#733)
* To reduce bandwidth traffic in a remote environment, a lossy compression-based preview mode is provided for displaying simple visualizations in node-based widgets.

* Added 'preview=[image format]' option to the '/view' API.
* Updated node to use preview for displaying images as widgets.
* Excluded preview usage in the open image, save image, mask editor where the original data is required.

* Made preview_format parameterizable for extensibility.

* default preview format changed: jpeg -> webp

* Support advanced preview_format option.
- grayscale option for visual debugging
- quality option for aggressive reducing

L?;format;quality?

ex)
jpeg => rgb, jpeg, quality 90
L;webp;80 => grayscale, webp, quality 80
L;png => grayscale, png, quality 90
webp;50 => rgb, webp, quality 50

* move comment

* * add settings for preview_format
* default value is ''(= don't reencode)

---------

Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
2023-06-05 01:49:43 -04:00
..
clipspace.js Clipspace Menu and MaskEditor application. (#548) 2023-05-08 14:37:36 -04:00
colorPalette.js Remove useless call to /object_info 2023-05-22 17:05:23 -04:00
contextMenuFilter.js Fix scaled position when filtering 2023-04-03 08:11:44 +01:00
dynamicPrompts.js check if workflowNode And widgets_values are defined as they were causing errors on QueuePrompt after loading workFlow 2023-04-03 22:01:18 +02:00
editAttention.js Remove brackets if weight == 1 2023-04-20 23:55:20 -06:00
invertMenuScrolling.js Added filter input to combos 2023-04-02 19:03:34 +01:00
keybinds.js Fix "Ctrl+Enter doesn't work when textarea has focus" regression introduced in #491. 2023-04-17 01:58:33 +09:00
maskeditor.js improve: lightweight preview to reduce network traffic (#733) 2023-06-05 01:49:43 -04:00
nodeTemplates.js Adds menu for adding + managing node templates 2023-04-08 14:39:10 +01:00
noteNode.js node serialization 2023-04-15 20:16:28 -04:00
rerouteNode.js Adds orientation settings to reroute nodes, allowing for cleaner 2023-04-03 17:47:32 -04:00
saveImageExtraOutput.js Changed default name to be the node type not title 2023-04-12 13:52:19 +01:00
slotDefaults.js Search filter by type 2023-04-29 17:19:14 +01:00
snapToGrid.js Change grid size to slider 2023-04-13 10:04:06 -06:00
uploadImage.js Changed to upload to input dir 2023-03-09 17:57:59 +00:00
widgetInputs.js Add control_after_generate to combo primitive. 2023-05-16 03:18:11 -04:00