This repo has moved to the Wiki in the official canvas-zoom repo canvas-zoom wiki
This repository is a demonstration of all the canvas-zoom extension capabilities for stable-diffusion-webui
Use the context menu to customize the hotkeys.
Important functions you should know: Moving canvas , Zooming canvas, Undo, Reset zoom, Overlap elements and Fit to screen
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 )
This application has a context menu that is called by Right mouse button , you must click in the image field in Inpaint, Sketch, Inpaint Sketch
In the context menu you can:
- Change the hotkeys as you like
- Adjust the degree of transparency
contextMenu.mp4
You can move canvas with shift + wheel (hold) The movement goes where the mouse is pointing
shift-wheel.mp4
You also can move via hotkey F
f-move-mode1.mp4
You can zoom canvas with shift + wheel
zoom-shift+wheel.mp4
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
You can immediately zoom in on the image so that it fits into your screen on S.
fitToScreen.mp4
Keys that allow you to control the state of canvas
You can quickly reset the zoom on the R key
resetzoom1.mp4
You can enable overlapping of elements, on the key O so that nothing disturbs you
overlap1.mp4
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
You can quickly adjust the brush size with Ctr+wheel
brushSize.mp4
You can quickly on Q open the color bar and select a color or dropper
openBrushPanel.mp4
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
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
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 context menu.
On the C hotkey you can turn on the transparency mode of the mask.
bandicam.2023-04-28.01-08-21-078.mp4
On the V hotkey you can turn on the transparency mode of the brush.
opacityBrush.mp4
bandicam.2023-04-24.22-01-54-910.mp4
You can fill the canvas with brush color for easy editing if you need to paint from scratch