🎨 Cross-platform image editor with raster and vector layers similar to Paint.Net written in Lazarus (Free Pascal)

#drawing #art-tool #utility #paint #paint.net #paintdotnet #freepascal #lazarus #fpc #pascal #2d #desktop

Johann ELSASS 1b5b7d4ce3 update copyright 4 年之前
.github 50a3450141 Create FUNDING.yml 5 年之前
debian 1b5b7d4ce3 update copyright 4 年之前
lazpaint 6ec9b6f40d scale top panel 4 年之前
lazpaintcontrols 999f1ea083 fix text update when font/style/shadow changes 4 年之前
resources 58e0aef7e6 add StdHSL / GSB blend modes for scripts 4 年之前
vectoredit c62cba5401 license headers 5 年之前
winmake 34e5d99e49 add createdir 4 年之前
.gitignore 4044b3f48a ignore portable archive 4 年之前
COPYING.txt c62cba5401 license headers 5 年之前
Makefile 9a5ef866a7 naming convention 32 / 64bit 4 年之前
README.md 27470e8316 more compilation platforms 5 年之前
_config.yml 9f5764ec17 Update _config.yml 8 年之前
commit.sh 367e6deeff Script to commit on Linux 5 年之前
configure ab4c68601e add configure script 4 年之前
configure.bat ab4c68601e add configure script 4 年之前
create_orig c7ac6145a7 fix debuild 4 年之前
lazpaint.logic 3257547207 more visible warning for changelog 4 年之前
prune_lpk 1b5b7d4ce3 update copyright 4 年之前

README.md

LazPaint

Image editor, like PaintBrush or Paint.Net, written in Lazarus (Free Pascal). Uses BGRABitmap library.

You can support the development by donating. That will allow the developper to buy carrots and beans for sustenance.

Download

Download LazPaint for Windows, Mac and Linux.

This application can be made portable.

Here are compilation instructions if you would like to debug or make a modified version.

Official Sites

LazPaint Wiki

LazPaint Forums

LazPaint on Facebook

LazPaint on YouTUBE

Screenshots

LazPaint Linux dark theme LazPaint Windows LazPaint Puppy Linux

History

LazPaint was started to demonstrate the capabilities of the graphic library BGRABitmap. It provides advanced drawing functions in Lazarus development environment. Both provided a source of inspiration for the other and finally LazPaint became real image editor. Thanks to the help of Lazarus community, the program has been compiled on Windows, Linux, MacOS X, FreeBSD and Raspberry Pi.

Features

  • Files: read and write a variety of file formats, including layered bitmaps and 3D files.
  • Tools: many tools are available to draw on the layers.
  • Edit/Select: select parts of an image with antialiasing and modify the selection as a mask.
  • View: color window, layer stack window and toolbox window.
  • Command line: call LazPaint from a console.

Useful keys

  • 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 the 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)

Interface

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.

Image manipulation

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.

Color manipulation

  • 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

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