Skip to content

Functionality

Danil Boldyrev edited this page Jun 6, 2023 · 5 revisions

For Beginners

Important functions you should know: Moving canvas , Zooming canvas, Undo, Reset zoom and Fullscreen mode

Default hotkeys:

Shift + click or wheel (hold) - Move canvas

F (hold) - Move canvas

Shift + "+" or Shift + "-" - Scale canvas ( numpad keys also work )

Shift + wheel - Scale canvas

Ctr + wheel - Change brush size

S - Zoom in on the canvas so that it fits into the screen

R - Reset Zoom.

Q - Open/Close color panel

T - Open color panel right above the mouse. The mouse should be in the image area

A - Enable dropper

O - Overlap all elements and back

Ctr-Z - Undo last action

C - Toggle mask transparency mode ( Works only in Inpaint )

V - Toggle brush transparency mode ( Works only in Inpaint )

Features

1 - You can fix the color bar wherever you want, for this purpose point the mouse on the place you want and press "T" and then every time you press "Q" the color bar will open in this place. If you click on the button in the right corner, the panel will reset and work as it should.

2 - If you zoom in on a picture that is too wide to fit in the window, pressing "S" will magnify it to full screen width without the scroll bar.

3 - You can add a white outline to the brush to better see its borders. You can turn it on in the settings. It works only in Inpaint.

4 - You can select the color of the mask in Inpaint and the color of all your lines will change to the color of the mask

Extension possibilities

Moving canvas

Move via shift

You can move canvas with shift + wheel (hold)

move-by-shift-wheel.mp4

Move via hotkey

You also can move via hotkey F

f-move-mode1.mp4

Zooming canvas

Zoom to where the mouse is pointing

You can zoom canvas with shift + wheel

shift-wheel-zoom.mp4

Zoom via keys

If you don't have a mouse or don't want to zoom with the wheel, you can also use Shift + "+" and Shift + "-" (Numpad also works) to zoom in and out

zoom-shift++-.mp4

Fullscreen mode

You can immediately zoom in on the image so that it fits into your screen on S.

fitToScreen.mp4

Controls

Keys that allow you to control the state of canvas

Reset zoom

You can quickly reset the zoom on the R key

resetzoom1.mp4

Toggle overlap elements

You can enable overlapping of elements, on the key O so that nothing disturbs you

overlap1.mp4

Undo last action

You can quickly undo the last action on Ctr+Z

In the latest update you can now undo lines in a canvas that you have dragged through the buttons (in Sketch or Inpaint Sketch), only the undo hottkey works (Ctr+z by default)

undo.mp4

Filling the canvas with color

You can fill the canvas with brush color for easy editing Hotkey H

bandicam.2023-05-01.22-39-23-345.mp4

Adjust brush size

You can quickly adjust the brush size with Ctr+wheel

brushSize.mp4

Fast open color panel

You can quickly on Q open the color bar and select a color or dropper

openBrushPanel.mp4

Open color panel under mouse

If you get too close to the image or if you don't want to reach the default location of the color box you can open it right next to the mouse. Press the T key

brushpanelundermouse.mp4

Enable dropper, you can pick color from img

You can quickly select any color with the dropper in Sketch and Inpaint Sketch (Default key is "A")

bandicam.2023-04-21.02-36-54-581.mp4

Mask transparency

You can't draw in transparency mode, otherwise there is a chance that one of the lines will be cancelled. Turn off mask transparency mode when you draw. This mode is not stable yet, work will be done to improve it.

You can adjust the mask and brush transparency in the settings.

Canvas transparency

On the C hotkey you can turn on the transparency mode of the mask.

bandicam.2023-04-28.01-08-21-078.mp4

Extra

Button to get the dimensions of the image

Automatic1111 made this button native in webui 1.3, so I removed my solution from webui 1.3 and higher

bandicam.2023-04-24.22-01-54-910.mp4