# Image editor

Draw and edit images: brushes, shapes, text, layers, gradients and filters, export to PNG, JPEG and SVG.

- Open the app: https://openlibs.dev/en/app/image-editor/
- library for developers: https://openlibs.dev/en/lib/image-editor/

## Image editor: instructions

### Screen and tools

The canvas with its tool bar is on the right (on top on a phone), the Properties and Layers tabs on the left (below on a phone). Tools: select, brush, eraser, eyedropper, line, arrow, rectangle, ellipse, triangle, star, pen (curves), text and crop. Drag on the canvas to draw a shape.

### Colors and brush

Stroke and Fill each have a color button and a field for an ImageMagick color name; “Fill shapes” turns filling on. Choose a brush (pencil, spray or circles), its width and opacity.

### Text

Click with the text tool and type. With a text selected, the text block sets the text, font (or your own font file), size, bold, italic, underline, alignment, letter spacing and line height.

### Objects and alignment

Bring forward, send back, duplicate, flip, delete, group and ungroup, and add a shadow. Align objects left, center, right, top, middle or bottom, or distribute them evenly.

### Gradients, blending and filters

Apply a two-color gradient at an angle, choose a blend mode and add shapes from the library. For images: black and white, sepia, invert, vintage, blur, brightness, contrast and saturation.

### Canvas, view and layers

Set the background color or transparency and the canvas size; the grid, snapping and guides help with placement. Zoom with the buttons under the canvas or go full screen. The Layers tab lists every object: select, hide, lock, reorder or delete it.

### Export and projects

Export saves PNG (with transparency), JPEG, SVG or the project (.json); Import opens a project or an image. Unsaved work can be restored from the Import window.

### Keyboard shortcuts

The letter shown next to each tool name selects that tool; Delete or Backspace — remove the selected object; Ctrl+Z / Ctrl+Y — undo / redo; Esc — cancel.

