LazPaint is an image editor with layers and transparency, compiled for both Windows and Linux. It supports the format OpenRaster so it can interoperate with MyPaint, Gimp and Krita.
The underlying graphic library BGRABitmap was started to provide advanced drawing in Free Pascal with Lazarus. In order to show the capabilities of the library, I started LazPaint. Finally it became real image editor and a source of improvement for the library BGRABitmap.
Files: read and write a variety of file formats, including layered bitmaps and 3D files.
Windows: color window, layer stack window and toolbox window.
Selection: select parts of an image with antialiasing and modify the selection as a mask.
Command line: call LazPaint from a console.
How to use it
- Maintaining Space key down switches temporarily in move mode
- F6 key hides/shows all tool windows
- Ctrl key aligns to image pixels and limits possible angles with rotation tool
- Backspace key erases last point in a polygon or last letter in a text
- Enter key releases selection
Right mouse button can be used to:
- Swap drawing colors temporarily
- Subtract from selection (selection tool)
- Define light position (shaded text, shaded shapes)
- Finish a shape (polygon, curve)
Video tutorials are available on Youtube :
- Getting started
- Advanced drawing tools
- Using selection tools
- Text with projected shadow
- Drawing a vortex
- Export for Krita
- Using layers, magic wand and perspective
- Draw a fire (overlay blending mode)
- Draw lightnings (negation blending mode)
- Draw a neon with blur (lighten blending mode)
- Spline selection and glow effect (glow blending mode)
Binaries can be downloaded on Sourceforge for Windows and Linux.
The source code can be downloaded as zip files. Here you will find LazPaint and BGRABitmap:
Here is a mirror of LNetVisual: http://sourceforge.net/projects/lazpaint/files/src/inet0.6.6.zip/download
You can download the source code and compile it for a specific platform. MacOS version is a bit experimental, to compile it, it is necessary to remove the dependency to LNet package.
Many common actions can be done with the toolbar. Zoom can be changed with the magnifying glass (+ or -), or by clicking on the 1:1 button to show the image at its original size in pixels, or with the zoom fit button to set the zoom so that the whole image be within the window.
It is possible to undo/redo the 200 last operations. If you have a doubt on what you are drawing, undo back to the beginning, save a copy, and redo the modifications before going further.
The main window allows to draw, and there is also a color circle window and a toolbox. Use the color circle window to select a color, its luminosity and its opacity. The toolbox offers a wide range of drawing tools and selection tools.
An image can be resampled, flipped horizontally and vertically.
Smart zoom x3 : resize the image x3 and detects borders; this provides a useful zoom with ancient games sprites.
- Colorize : set the color of an image while preserving intensities
- Shift colors : cycle colors and change colorness (saturation)
- Intensity : make colors lighter or darker without making them white
- Lightness : make colors lighter or darker by making them whiter
- Normalize : use the whole range of each color channel and alpha channel
- Negative : invert colors (with gamma correction)
- Linear negative : invert colors (without gamma correction)
- Grayscale : converts colors to grayscale with gamma correction
Filters can be applied to the whole image or to the active selection.
- Radial blur : non directional blur
- Motion blur : directional blur
- Custom blur : blur according to a mask
- Sharpen : makes contours more accute, complementary to Smooth
- Smooth : softens whole image, complementary to Sharpen
- Median : computes the median of colors around each pixel, which softens corners
- Contour : draws contours on a white background (like a pencil drawing)
- Emboss : draws contours with shadow
- Sphere : spherical projection
- Cylinder : cylinder projection
- Clouds : add clouds of the current pen color