Files
Lerc-canvas_tab/README.md
T
2023-11-23 13:31:58 +13:00

2.0 KiB

canvas_tab

ComfyUI canvas editor page

This plugin provides two nodes to provide a full page editor that runs in another tab.

There is an input node Edit in another Tab and an output node Send to Editor Tab. Both are stored in the images submenu.

There is a green Tab on the side of images in the editor, click on that tab to highlight it. The image with the highlighted tab is sent through to the comfyUI node.

You can have multiple image layers and you can select generated images to be added as new layers or new images.

You can drag images around with the middle mouse button and scale them with the mouseWheel.

You can delete layers by clicking on the layer widget with Ctrl-LefTClick. Ctrl-click on palette entries reassigns the palette color tho the current color. Middle-click on palette entries sets the palette color to the current foreground color.

Both nodes provided by this extension support receiving files by drag and drop to send images directly to the editor.

My main motivation for making this was to develop an inpainting workflow, but I have also found it quite useful for scribble based images,

This image shows a basic workflow where it simply sends the image back to itself and shows previews of the image and mask. The workflow is also embedded in this image.

basic usage

I have been using the controlnet inpaint with a workflow like this.

inpaint workflow

That workflow should be embedded in this image.

Image with embedded Inpaint workflow

Hotkeys

  • B for Brush tool
  • E for Erase tool
  • Z for pixel editing tool
  • P for color Picker
  • BackSpace to clear a layer
  • ALT_BackSpace to fill the layer with the foreground color
  • CTRL_Backspace to fill the layer with the background color
  • CTRL_Z undo
  • CTRL_SHIFT_Z redo