Nodus Draw: Editing images
Nodus Draw opens pictures (PNG, JPEG, WebP, GIF, BMP and AVIF) to edit, each in a tab of its own.
Image editing is new and still growing: so far an image can be opened, looked at closely, selected from, painted on, drawn on with shapes and text, built up in layers, cropped, resized, flipped, turned and saved again.
Opening an image
- File › Open a picture, or drag one onto the window. Dropped onto a drawing, Nodus Draw asks whether to open it in a tab of its own (to edit) or insert it into the drawing.
- File › New Image… makes a blank image: its width and height in pixels, and a white or transparent background.
- Edit › Paste into New Image (Ctrl+Alt+V) opens the picture on the clipboard, such as a screenshot. The browser may ask permission to read the clipboard the first time.
The image is fitted to the window with a little room round it; F4 fits it again. Transparent parts show as a grey and white checkerboard.
Looking closely
In an image tab, sizes and positions are in pixels, measured from the top-left corner. The status bar shows the image's size and the pixel under the pointer. The zoom is in image pixels: at 100 % each pixel of the image is one pixel of the screen; the Zoom to 100 % button on the toolbar (or View › Zoom to 100 %) goes straight there.
Zoomed in to 200 % or more, pixels are shown as sharp squares; below that they are smoothed, as most image editors show them. View › Display pixel grid when zoomed in draws dotted lines round each pixel once they are big enough to see (on unless you turn it off).
The tools, menus and dockers change to suit images: so far the pick tool, zoom, the selection tools and the colour eyedropper, the Image menu, and the Objects (layers) and History dockers.
Selecting
A new or opened image starts with the rectangle selection tool (S): drag from one corner to the other. Hold Shift for a square. Holding the right mouse button as well while dragging moves the rectangle instead of changing its size. The ellipse selection tool works the same way (Shift for a circle), and the lasso selects the shape you drag round. The magic wand (W) selects pixels of a colour like the one you click:
- Tolerance says how different a colour may be (0 % only the same colour, 100 % every colour): type it, or drag the slider beside it (left for less, right for more). Change it straight after a click and the selection changes with it, so you can click once and then slide until it selects what you want.
- It looks at the current layer or the whole image (the property bar's buttons).
- It selects only pixels touching the one clicked, or like it anywhere in the image; hold Shift for the other.
The selection is shown by moving black and white stripes ("marching ants") and a light blue tint over what is selected, and the status bar shows its size. The ants stand still while Nodus Draw's window is not the one in use. Each new selection replaces the last, unless you choose otherwise with the buttons on the property bar: add to it, take away from it, keep only where the two overlap, or invert where the new one is. Hold Ctrl to add or Alt to take away for one selection.
Smooth edges (on the property bar for the ellipse and lasso) select the pixels along the edge partly, so that a curve does not look jagged.
The move selection tool (M) moves the selection (not the picture under it): drag inside it, or drag one of the handles round it to stretch it. Hold Ctrl while dragging to move it only across or only up and down.
Edit › Select All (Ctrl+A) selects the whole image, Deselect (Escape, or a click without dragging) selects nothing (with nothing selected, Escape goes back to the rectangle selection tool; Space goes to the pick tool), and Invert Selection (Ctrl+I) selects what was not selected. Delete makes the selected pixels transparent. Selecting can be undone like any other change.
Painting
Under the tools are the primary colour (in front) and the secondary colour (behind). The left mouse button paints with the primary colour and the right button with the secondary. Click a colour on the palette to make it the primary colour, or right-click it for the secondary; click one of the two squares to choose any colour; press X (or click the arrows) to swap them. The eyedropper picks up a pixel's colour: click for the primary, right-click for the secondary.
- The paintbrush (B) paints as you drag. The property bar sets its width in pixels (type it, or step through the usual widths with the arrows beside it or the up and down arrow keys), its hardness (100 % for a sharp edge, less to soften it towards the edge), round or square, and smooth edges. Hold Ctrl while dragging to keep to a horizontal, vertical or 45° line, whichever is nearest the way you first move.
- The eraser (E) makes pixels transparent, with the same settings.
- The fill bucket (F) fills the pixels like the one you click, with the same choices as the magic wand: tolerance, the current layer or the whole image, and touching or anywhere (Shift for the other). As with the magic wand, changing the tolerance straight after a fill fills again with it, in place of the first.
With a selection, painting only changes the selected pixels, so a selection can keep paint inside a shape. Each stroke or fill can be undone. Choosing a painting tool deselects any shapes (below), so that a colour then chosen for painting does not change the last shape drawn.
Shapes, lines and text
Some of the drawing tools work on images too: the two-point line, the arcs, the sine wave, the rectangle, circle and polygon, and text. What they draw stays a shape you can still change, on an Objects layer just above the layer you are working on: select it with the pick tool to move it, resize it, edit its text or change its colours. New shapes are outlined with the primary colour. Shapes that can be filled (rectangles, circles, polygons and arcs) are left unfilled, or filled with the secondary colour if you turn on the fill button on the property bar for those tools. Text is the primary colour. Shapes are shown as they will look in the picture's pixels.
When you are happy with them, right-click and choose Finalise Objects to make them part of the picture (only what is selected, if you have selected pixels). Painting on the layer below, Merge Layer Down, Flatten and the Image menu finalise them too. Sizes of text and line widths are in pixels.
Layers
An image can have several layers, each a picture of its own on top of those below, as in other image editors. The Objects docker lists them: click one to work on it, and use its eye to hide or show it. Painting, erasing, filling, Delete, Cut and Copy work on the current layer.
The Layer menu adds a new transparent layer (Ctrl+Shift+N in the installed application; a browser keeps that key for a private window), deletes or duplicates the current one (Ctrl+Shift+D), merges it into the layer below (Merge Layer Down, Ctrl+M), shows or hides it, and flips or turns just that layer (Rotate… and Rotate by Drawing Line too). Image › Flatten (Ctrl+Shift+F) makes all the shown layers one.
Moving pixels, copying and pasting
The move selected pixels tool (Shift+M) moves the selected part of the picture itself: drag inside the selection to move it, a side handle to stretch it, or a corner handle to make it bigger or smaller; hold Ctrl to move it only across or only up and down. Until you put the pixels down (by deselecting, with Escape or a click with a selection tool, or by painting), they can be moved again without harming what is underneath.
Copy (Ctrl+C) copies the selected pixels; Cut (Ctrl+X) also removes them. Paste (Ctrl+V) puts what you copied back where it came from on the current layer, or onto a new layer in another image. A picture copied from another program asks where to go: a new image, a new layer, or the current layer. Edit › Paste as New Layer (Ctrl+Shift+V) always makes a new layer. Pasted pixels can be moved straight away; the image grows if what is pasted is bigger than it.
The Image menu
| Command | Keys | What it does |
|---|---|---|
| Crop to Selection | Ctrl+Shift+X | Cuts the image down to the box round the selection; what is not selected within it becomes transparent. |
| Resize… | Ctrl+R | Makes the picture bigger or smaller: by a percentage, or to a width and height in pixels, keeping its proportions unless you untick "Maintain aspect ratio". |
| Canvas Size… | Ctrl+Shift+R | Makes the image bigger or smaller without stretching the picture, by a percentage or to a size in pixels: choose where the picture stays (the anchor); added space is transparent. |
| Auto-crop… | Trims plain background (or transparency) from round the picture, side by side, within a tolerance. | |
| Flip Horizontally, Flip Vertically | Mirrors the image. | |
| Rotate 90° Clockwise | Ctrl+H | Turns the image a quarter turn clockwise. |
| Rotate 90° Anticlockwise | Ctrl+G | Turns the image a quarter turn anticlockwise. |
| Rotate 180° | Turns the image upside down. | |
| Rotate… | Turns the image by any angle (clockwise; negative for anticlockwise), making the canvas bigger to fit unless you untick that. | |
| Rotate by Drawing Line | Draw a line along something that should be level (a horizon) or upright (a wall): the image is turned to make it so. |
In a browser tab, the browser may keep Ctrl+R and Ctrl+H for itself; in the installed app they work as listed (use the menu otherwise).
Photos' information (EXIF)
Photos from cameras and phones carry information such as the camera, the date and sometimes the place they were taken (EXIF). Nodus Draw keeps it when you save the photo again. Tools › Image Information… shows it, and Tools › Strip EXIF (Ctrl+Shift+E) removes it, for example before sharing a photo that says where you live.
Animated GIFs and images in drawings
An animated GIF opens with each frame as a page (the tabs at the bottom say "Frame 1", "Frame 2" and so on), so each can be looked at and edited. Saving saves the frame on show, as a PNG.
To edit a picture that is in a drawing, right-click it and choose Edit Image. It opens in an image tab of its own; Save (Ctrl+S) puts the edited picture back into the drawing, in the same place and size.
Keys that differ from drawings
Most keys do the same in an image as in a drawing (the keys of the tools they share, Ctrl+Z, Ctrl+C, the zoom keys, the layer keys Ctrl+Shift+N, Ctrl+Shift+D and Ctrl+M, and so on). These do something else in an image, as in other image editors:
| Key | In an image | In a drawing |
|---|---|---|
| S | Rectangle selection | Smart trim |
| B | Paintbrush | Bézier tool |
| E | Eraser | Ellipse (with objects selected, line up their centres) |
| F | Fill bucket | — |
| W | Magic wand | — |
| M, Shift+M | Move selection, move selected pixels | — |
| X | Swap the primary and secondary colours | Mirror horizontally |
| Escape, with nothing selected | Rectangle selection | Pick tool |
| Ctrl+G | Rotate 90° anticlockwise | Group |
| Ctrl+H | Rotate 90° clockwise | — |
| Ctrl+I | Invert Selection | Insert from File |
| Ctrl+R | Resize… | — |
| Ctrl+Shift+F | Flatten | — |
| Ctrl+Shift+R | Canvas Size… | — |
| Ctrl+Shift+X | Crop to Selection | — |
| Ctrl+Shift+E | Strip EXIF | — |
Saving
File › Save (Ctrl+S) saves the image in the format it came in, where Nodus Draw can write it (PNG, JPEG or WebP; otherwise PNG); File › Save as… can save it in another, chosen by the name's ending. An image with transparent parts is saved as PNG rather than JPEG, which cannot keep them.
An image with more than one layer is saved as OpenRaster (.ora), which
keeps its layers and which GIMP and Krita can open too; choose PNG, JPEG or
WebP in Save As to save it flattened instead.
Saving as JPEG asks the quality each time (90 to start with): higher keeps more detail and makes a bigger file. JPEG loses a little detail each time it is saved, so keep a PNG of anything you will edit many times.
Unsaved images are not kept by the browser in case of a crash, as drawings are, so save your work.
This website is free and ad-free, but costs me money to run. If you'd like to support this site, please consider making a small donation or sending me a message to let me know what you liked or found useful.