The window and its menus
Lulumoy Studio works in a single window. Open an image with File › Open; every operation is in the drop-down menus, and each one you apply is added to the command chain of the image.
| Menu | What it contains |
|---|---|
| File | Open, Save as, Export SVG (vectorize), Properties, Close image, Quit |
| Edit | Undo last step, Restore original image, Rotate, Flip, Crop, Affine transform (3 points), Perspective transform (4 points) |
| Edit › Change format | 8 bits, 16 bits, Grayscale, Color |
| Edit › Filters | Gaussian, box, median, bilateral, sharpen, Canny, threshold, brightness/contrast, morphology |
| Chain | View current chain, Save chain, Apply chain from file |
| View | Zoom in, Zoom out, Actual size (100%), Fit to window |
| Language | English, Español, Italiano (the choice is remembered) |
| Help | Mathematical guide to parameters (F1), DonatellaTech: mission and vision, About |
Opening and saving
File › Save as always writes a new file: Lulumoy Studio never overwrites an existing image, so the original is always safe. The format is chosen by the file extension, for example PNG, JPEG or TIFF.
- 16-bit images can only be saved as PNG or TIFF, the formats that keep 16 bits per channel.
- Metadata (EXIF, GPS) of the original file is not copied to the saved file.
- Edit › Undo last step goes back one operation; Restore original image discards all of them.
Rulers and coordinates
Two rulers graduated in pixels surround the image: the x axis at the top and the y axis on the left. The origin (0, 0) is the top-left corner; x grows to the right and y grows downwards, as in OpenCV. Tick x is the left edge of pixel x, so pixel (x, y) covers the square from x to x+1 and from y to y+1.
- The rulers follow zoom and scrolling, and a red line on each ruler marks the mouse position.
- The status bar shows the pixel under the mouse and its value: RGB, RGBA or gray level (0–255 for 8 bits, 0–65535 for 16 bits).
- At 800 % zoom or more, the pixel grid is drawn as well.
The coordinate system page of the math guide explains how screen positions are converted to image coordinates.
Parameter dialogs and preview
Rotate, Flip, Crop, the affine and perspective transforms and all the filters open a dialog with their parameters and a preview with the same rulers, recomputed a moment after a parameter changes.
- Show: the Result or the Original. In the original, the crop area is drawn as a rectangle and, for the transforms, the chosen source points are marked.
- Size: Fit to the dialog or 100 %. To judge a filter, look at it at 100 %: when fitted, the image is shown reduced.
- Below the preview: size of the result, computation time and the pixel under the mouse.
- The preview applies the operation to the full image, so it is exactly what you will get; when you click Apply, nothing is computed again.
- With very large images and slow filters (such as the bilateral filter), untick Preview. The program remembers the choice.
- The Help button opens the page of the math guide for that operation.
Affine and perspective transforms
Edit › Affine transform (3 points) asks for six clicks on the image: for each of the three pairs, first the source point (yellow) and then where it should end up (cyan). Lines join each pair so you can check them.
- Right click or Backspace: remove the last point. Esc: cancel.
- Set the zoom beforehand: the menus are disabled while the points are being picked.
- After the last click, the parameter dialog opens with the preview of the result.
Edit › Perspective transform (4 points) works the same way with four pairs (eight clicks). A typical use is straightening a document photographed at an angle: click each corner of the document and then the place where that corner should go, for example the corners of a rectangle.
Exporting to SVG (vectorization)
File › Export SVG (vectorize) converts the current image into black-and-white vector paths. The dialog shows the parameters next to a preview that updates when they change; it can display the vector result, an overlay on the image or the binarized image, and below it the number of paths, the number of nodes and the approximate size of the SVG.
| Parameter | Effect |
|---|---|
| Threshold method | Fixed, automatic (Otsu) or adaptive (for uneven lighting or shadowed scans) |
| Working resolution | ×2 or ×4 give more precise edges on small images; reduced automatically on very large ones |
| Pre-blur and edge cleanup | Remove noise and jagged edges before tracing |
| Ignore specks | Discards shapes and holes smaller than the given area |
| Simplification | Tolerance in pixels: higher means fewer nodes and less detail |
| Outline and corners | Polygons or smooth curves; turns sharper than the given angle are kept as corners |
Without simplification, the SVG reproduces the binarized image pixel by pixel, including 1-pixel lines. The SVG uses a single black path with the even-odd fill rule, so holes (the inside of an “o”) stay transparent. As with images, an existing file is never overwritten. Each step is explained, with formulas, in the vectorization guide.
Properties and metadata
File › Properties shows the file data (size, date, actual format, dimensions, compression, resolution), the EXIF and GPS metadata of JPEG, PNG, TIFF and WebP files, embedded text and statistics of the image in memory. The metadata is read by the program's own code, without additional libraries.
Command chains
Every operation applied is added to the chain of the open image. Chain › Save chain writes it to a .cvchain file and Apply chain from file runs it on another image — useful to process a series of photos in exactly the same way. The file is plain text and can be edited by hand:
# lulumoy-chain 1
edit.rotate angle=90 expand=1
filter.gaussian ksize=5 sigma=1.5
format.togray
Command line
The same operations are available without opening the window:
lulumoy --list # operations and their parameters
lulumoy --info image.jpg # properties and metadata
lulumoy --svg image.png drawing.svg epsilon=0.5 # vectorize (without parameters: list of keys)
lulumoy --apply chain.cvchain input.png output.png
lulumoy --version
On Windows, the installed program hides the console window; to see the output of these commands, build it with -DLULUMOY_HIDE_CONSOLE=OFF (see Download).
Language and settings
The language chosen in the Language menu is saved in the user's folder and used the next time the program starts:
- Windows:
%APPDATA%\DonatellaTech\Lulumoy Studio\settings.conf - Linux:
~/.config/donatellatech/lulumoy/settings.conf
The window title, icon, welcome logo and message, initial language and window size are set in config/app.conf, in the program folder. New languages are added by copying lang/en.lang to a new file and translating it; it appears in the Language menu at the next start.