NanumOS

Paint

Status: In trial

Draw and edit pictures (Lab): selections, levels, masks, clone stamp, history.

Paint

About this app

Paper and paint on the screen, and a small workshop for photos. Draw on a white sheet with a brush, pencil or eraser, or open a photo, pick just the part you want, crop it, set its brightness and colours, remove specks and mark it with arrows and words. A photo you opened is never overwritten silently: the first save offers "Save a Copy". Closing does not lose the work; the next time you open Paint it continues.

At a glance

In one line: Draw pictures and fix photos (lab app).

The screen

Task 1. Make a new picture

  1. Open the File menu
  2. Press "New"
  3. Press "Screen size"

Say: "Make a new picture"

Task 2. Draw

  1. Press the brush tool (B)
  2. Press a color in the bottom row
  3. Drag on the paper

Say: "Draw a red circle on the picture"

Task 3. Save

  1. Press Ctrl+S
  2. Type a name
  3. Press "Save"

Say: "Save the picture as a copy"

Basics

A photo is a grid of tiny coloured dots (pixels). A 12-megapixel photo is 4000 dots across and 3000 down. Everything a paint program does comes down to "which dots, and which colour".

To learn more, press ⚡ "Teach me the basics of this app".

How to use it

  1. Draw: pick the Brush (B) in the tool column, click a colour in the strip at the bottom and drag over the sheet. [ ] set the size, 1-0 the opacity. Ctrl+Z takes a stroke back.
  2. Select: rectangle (M), ellipse (Shift+M), lasso (L - draw around by hand; Shift+L is the polygonal lasso, click the corners), magic wand (W - click a colour and get everything similar). Hold Shift while selecting to add, Alt to subtract, both to keep only the overlap. Select > Feather (Shift+F6) and Color Range are in the menu too.
  3. Resize or turn: select, then Ctrl+T (Free Transform). Drag a corner to scale, outside the box to turn, inside to move. Enter applies, Esc cancels.
  4. Brightness and colour: Ctrl+L Levels, Ctrl+M Curves, Ctrl+U Hue/Saturation, Brightness/Contrast. Moving a slider previews on the picture at once; "OK" applies. Shift+Ctrl+U desaturates (grey), Ctrl+I inverts.
  5. Filters: Filter > Gaussian Blur, Unsharp Mask, Add Noise. With a selection only the selection changes.
  6. Remove specks: Clone Stamp (S) - hold Alt and click where to copy from, then paint over the spot. Spot Healing (J) - one click on a speck fills it from around it.
  7. New picture: File > New: "Screen size" (the default: the white sheet fills the visible picture area) or "Other size..." (like 1280x720). Settings > Paint > New picture size changes the default. An opened photo keeps its own size and is shown fitted to the area.
  8. Layers: in the right panel the labelled buttons "New Layer", "Delete", "Up", "Down", "Duplicate", "Merge" (hover for a hint); drag a row to reorder; the "Opacity" slider makes the layer see-through; on a phone the stacked-squares button in the top bar opens and closes the layer panel; press "‹ Normal ›" for the blend mode; "Mask" adds a mask; "Lock" (/) keeps transparent dots unpainted.
  9. History: the History list at the bottom right names every step. Press a row to go back to that moment; the top row "Original" is the picture as it was opened.
  10. Open and save: Photos > Edit, right-click in Files > "Edit in Paint", drag a picture from Files or the desktop onto the Paint window, or Ctrl+O. Ctrl+S saves (.zpaint keeps the layers), Shift+Ctrl+Alt+S exports PNG or JPEG.
  11. Canvas size: Image > "Canvas Size..." (like 1600x900) makes the sheet bigger or smaller without scaling the picture: it stays at the top left, new room is white paper, a smaller size cuts at the right and bottom (Ctrl+Z gives it back). "Resize..." is the one that scales.
  12. Narrow or short windows: the colour strip shrinks its swatches to fit beside "Custom..." and the layer panel; in a short window the layer panel scrolls with the mouse wheel so every button stays reachable.

Try it yourself

Try it yourself: in a new picture draw a filled red rectangle (U, "Filled"), then press W and click inside it: the dotted line runs around the rectangle and the status bar shows the selection's size. Ctrl+T, drag a corner out, Enter - then press "Original" in the History list to get back to the start.

How it works

Technical details
Technical details
  • Core src/gui/paint_core.c (document, layers, selection, history, drawing, filters, PNG, .zpaint): portable integer-only code with a host test, tests/paint_host.c (also under ASan). The window, src/gui/paint.c, is the same code on NanumOS and on mobile (web).
  • Size: up to 8192 dots on a side and 16 million dots a picture. Buffers over 1 MiB come from the high memory zone (direct map).
  • Selection: SEL_RECT (x, y, w, h) or SEL_MASK (w*h bytes). Lasso and polygon fill a polygon in 1/16-dot coordinates with anti-aliased edges; feather is three box blurs (a Gaussian). The ants redraw only the selection's box, 3 times a second.
  • Adjustments and filters are jobs: pc_preview_step does a few rows at a time; OK records one step. Levels (input black/white, midtones, output), Curves (three points, Hermite), Hue/Saturation (HSL), Gaussian blur (three boxes, premultiplied alpha), Unsharp Mask (amount, radius, threshold), Noise.
  • History: painting swaps 64x63 tiles; size and layer changes swap the whole state (reference-counted buffers). Budget 28 MiB; the oldest steps go first.
  • Files: PNG (RGBA), JPEG (quality 40-100), BMP and WebP (still) open, .zpaint (a zip of doc.json + layerN.png + maskN.png). Pictures are decoded in user space by u imgview (stb_image; WebP by zwebp, user/webp).
  • Assistant (paint_do): open, new, select (rectangle, ellipse, lasso, magic wand, color range, feather), crop, resize, rotate, adjustments (adjust_pro: levels, curves, hue_saturation, brightness, desaturate, invert), filters (blur, sharpen, noise), free transform, blend mode, mask, lock, clone, heal, history goto, undo, save a copy, export. Only overwriting the original (save_over) shows an approval card first.

FAQ

Why does it open on a wall of paintings?

The first time you open Paint, twelve well-known paintings sit over the blank paper (The Starry Night, Water Lilies, Girl with a Pearl Earring, The Great Wave off Kanagawa, The Birth of Venus, The Kiss, Mona Lisa, The Night Watch, Sunflowers, Impression, Sunrise, Ssireum, Dano Pungjeong). Tap one to open it and paint over it, or tap Blank paper to start as usual. To hide them, turn off Settings > Sample Files > "Show the painting gallery in apps".

How do I brighten only one part?

Select it with M, L or W, then use Ctrl+L (Levels) or Brightness/Contrast. Nothing outside the selection changes. If the edge shows, feather it first with Shift+F6.

What is the difference between the eraser and a mask?

The eraser really removes dots. A mask only hides them: paint the mask white again, or delete the mask, and they are back.

How do I go back several steps?

Press that row in the History list on the right. The top row "Original" is the picture as it was opened. Painting something new after going back drops the steps after it.

Do big photos open at full size?

Up to 8192 dots on a side and 16 million dots, yes. Bigger ones open scaled down with the note "Opened smaller to fit memory."

Does the moving dotted line keep the computer busy?

It redraws only the selection's box, three times a second - not the whole picture - so an idle Paint does very little.

Try this

1. Draw

  1. Pick the Brush (B) on the left, click a colour in the strip at the bottom, then drag over the white sheet. Press Ctrl+Z to take a stroke back.

Draw 1

2. Fix a photo

  1. In Photos press "Edit", or right-click a picture in Files and choose "Edit in Paint". Press M and drag over the part to keep, then "Image > Crop to Selection".

Fix a photo 1

3. Mark it up and save

  1. Press U for an arrow, T for text (Korean works, Enter sets it down). Press Ctrl+S and choose "Save a Copy": the original stays as it was.

Mark it up and save 1

Shortcuts

KeyWhat it does
V M C I B E G T U H ZTools: move, select, crop, eyedropper, brush, eraser, fill, text, shapes, hand, zoom
Shift+M, L, Shift+L, WElliptical selection, lasso, polygonal lasso, magic wand
S, JClone stamp (Alt+click the source), spot healing
Shift, Alt, Shift+Alt (while selecting)Add to, subtract from, intersect with the selection
Shift+B, Shift+UPencil, next shape (line, rectangle, ellipse, arrow)
X, DSwap colours, default colours
[ ], 1-0Size, opacity
Ctrl+Z, Shift+Ctrl+ZUndo, redo
Ctrl+A, Ctrl+D, Shift+Ctrl+I, Shift+F6Select all, deselect, invert selection, feather
Ctrl+TFree transform (Enter applies, Esc cancels)
Ctrl+L, Ctrl+M, Ctrl+U, Shift+Ctrl+U, Ctrl+ILevels, curves, hue/saturation, desaturate, invert
Ctrl+X, Ctrl+C, Ctrl+VCut, copy, paste
Ctrl+J, Shift+Ctrl+N, Ctrl+E, Ctrl+], Ctrl+[Duplicate layer, new layer, merge down, move up, move down
/Lock transparency
Ctrl+0, Ctrl+1, Ctrl++, Ctrl+-Fit, 100%, zoom in, zoom out
Ctrl+S, Shift+Ctrl+S, Shift+Ctrl+Alt+SSave, save as, export (PNG, JPEG)

Settings

Settings > Apps > Paint: JPEG quality, new picture size, pixel grid when zoomed in.

What it cannot do

NanumOS 0.1.8349 · 2026-11-16