SolarOS 4.17.7 manual · app
sketch
Pointer-driven graphical paint application. Its layout follows classic desktop paint programs: Save, Open, Import, and the sidebar controls share one aligned, equal-sized button grid; color and pattern choices are in the bottom bar. Sketch uses a compact four-color canvas and stores finished documents as interoperable indexed-color PNG files. Color TFTs show the native palette; one-bit displays use the existing dithered rendering path. Runtime rotation preserves the drawing and its saved dimensions. The canvas fits inside the new viewport, and pointer input follows the fitted image. Gray margins mark space outside the drawable canvas after rotation.
Usage:
sketch
sketch file.png
Sketch requires at least 200×200 pixels. On smaller targets it reports that the display resolution is too low and returns to the shell.
Sketch is intentionally not gated on a pointer hardware capability. If no ready absolute or relative pointer is registered when the app starts, a popup explains that a pointer can be attached at any time. Press Enter or Esc to dismiss it; the first attached pointer is accepted without restarting the app.
Controls:
- Click Save to update the current PNG. For an untitled or imported image, the first save selects the next free
Sketches/sketchNNN.pngpath on persistent storage. A failed save preserves the previous document. - Click Open to select a PNG as the current document. Click Import to flatten a PNG, JPEG, or GIF into the current four-color canvas; the next save creates a new PNG instead of overwriting the imported source.
- The sidebar selects pen, straight-line, rectangle, ellipse, bucket fill, or eraser drawing. The weight control cycles through 1, 2, 4, and 8 pixels. Eraser uses the selected weight and restores white pixels. Clear immediately resets the complete canvas to white.
- Line, rectangle, and ellipse show an exact non-destructive preview during the drag, including the selected color, pattern, and stroke weight. Releasing the pointer commits that preview to the canvas.
- The first four bottom swatches select white, red, blue, or black. The next four select solid, checker, dot, or diagonal-hatch application.
- Keyboard fallbacks are
SSave,OOpen,IImport,PPen,LLine,RRectangle,EEllipse,Bbucket fill,Xeraser, andCclear. Arrows and Enter operate the file browser. Q, Esc, or the app-exit key exits. Suspending and resuming retains the current cold-allocated canvas; closing the app releases it and all browser or image resources.