Sign in Join
Wiki copytemporary

LazPaint: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
1-<div style="text-align: right; height: 1.5em">
2-
3-</div>
4-
5-<div style="background: rgb(15,11,80); background: linear-gradient(90deg, rgba(15,11,80,1) 0%, rgba(55,55,157,1) 35%, rgba(34,171,103,1) 100%); border: 1px solid black; padding: 8px; border-radius:20px; text-align: center; padding-top: 1em; padding-bottom: 1em; color: white;">
6-
7-<div>
8-
9-<span style="text-shadow:5px 5px 9px rgba(0,0,0,0.3); font-size: 25px">**LazPaint**</span>
10-
11-</div>
12-
13-\
14-<font size="+1">Free cross-platform image editor with raster and vector layers, written in Lazarus (Free Pascal).</font>\
15-\
16-<span style="padding: 8px; border-radius:5px; border: 1px solid silver; text-transform: uppercase">[<font color="silver">Blog</font>](https://lazpaint.blogspot.com/)</span> <span style="padding: 8px; border-radius:5px; border: 1px solid silver; text-transform: uppercase">[<font color="silver">Last changes</font>](https://lazpaint.github.io/last/)</span> <span style="padding: 8px; border-radius:5px; border: 1px solid white; border-bottom: 4px solid white; text-transform: uppercase">Documentation</span> <span style="padding: 8px; border-radius:5px; border: 1px solid silver; text-transform: uppercase">[<font color="silver">Download</font>](https://lazpaint.github.io/)</span> <span style="padding: 8px; border-radius:5px; border: 1px solid silver; text-transform: uppercase">[<font color="silver">Screenshots</font>](http://lazpaint.blogspot.com/p/screenshots.html)</span> <span style="padding: 8px; border-radius:5px; border: 1px solid silver; text-transform: uppercase">[<font color="silver">Forum</font>](https://forum.lazarus.freepascal.org/index.php/board,46.0.html)</span> <span style="background-color: #3b5e98; padding: 8px; border-radius:5px; border: 1px solid #3b5ea0; font-weight: bold">[<font color="white">f</font>](https://www.facebook.com/LazPaint)</span>
17-
18-</div>
19-
20-<table>
21-
22-<tr>
23-
24-<td width="50%">
1+**LazPaint**
252
26-<div style="text-align: center">
3+Free cross-platform image editor with raster and vector layers, written in Lazarus (Free Pascal).\
274
28-<span style="background:#60d000; color:white; padding: 8px; border-radius:8px">[<font color=white>Donate</font>](http://sourceforge.net/donate/index.php?group_id=404555)</span>
5+[Blog](https://lazpaint.blogspot.com/) [Last changes](https://lazpaint.github.io/last/) Documentation [Download](https://lazpaint.github.io/) [Screenshots](http://lazpaint.blogspot.com/p/screenshots.html) [Forum](https://forum.lazarus.freepascal.org/index.php/board,46.0.html) [f](https://www.facebook.com/LazPaint)
296
30-</div>
7+[Donate](http://sourceforge.net/donate/index.php?group_id=404555)
318
32-<big>**History**</big>
9+**History**
3310
3411LazPaint 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 and macOS.
3512
36-</td>
37-
38-<td>
39-
4013 
4114
42-</td>
43-
44-<td>
45-
46-<big>**Features**</big>
15+**Features**
4716
4817[[LazPaint File|Files]]: read and write a variety of file formats, including layered bitmaps and 3D files.
4918
5019[[LazPaint Tools|Tools]]: many tools are available to draw on the layers.
5120
5221[[LazPaint Edit|Edit/Select]]: select parts of an image with antialiasing and modify the selection as a mask.
5322
5423[[LazPaint Windows|View]]: color window, layer stack window and toolbox window.
5524
5625[[LazPaint Command line|Command line]]: call LazPaint from a console.
5726
5827[[LazPaint scripts|Scripts]]: scripts are provided to do layer effects. You can as well write your own [Python](https://www.python.org/) scripts.
5928
60-</td>
61-
62-</tr>
63-
64-</table>
65-
6629### Quick start
6730
68-<table>
69-
70-<tr>
71-
72-<td width="50%">
73-
74-<big>**Useful keys**</big>
31+**Useful keys**
7532
7633- Maintaining Space key down switches temporarily in move mode
7734- F6 key hides/shows all tool windows
7835- Ctrl key aligns to image pixels and limits possible angles with rotation tool
7936- Backspace key erases last point in a polygon or last letter in a text
8037- Enter key releases the selection
8138
8239Right mouse button can be used to:
8340
8441- Swap drawing colors temporarily
8542- Subtract from selection (selection tool)
8643- Define reference position (light position for shaded text and shapes, rotation center, clone tool source)
8744- Finish a shape (polygon, curve)
8845- Rotate a shape (clicking corners)
8946
9047Left clicking in the small color preview will select the pen / background / outline color or if it is a gradient, the start / end color, to be edited with the color chooser.
9148
92-</td>
93-
94-<td>
95-
9649 
9750
98-</td>
99-
100-<td>
101-
102-<big>**Video tutorials**</big>
51+**Video tutorials**
10352
10453Video tutorials are available on Youtube :
10554
10655- [Getting started](http://www.youtube.com/watch?v=9G6XcQdBtDo)
10756- [Advanced drawing tools](http://www.youtube.com/watch?v=UEGQk1UhJ2w)
10857- [Using selection tools](http://www.youtube.com/watch?v=6zWohQYLW3g)
10958- [Text with projected shadow](http://www.youtube.com/watch?v=EmKzqKneJeI)
11059- [Drawing a vortex](http://www.youtube.com/watch?v=9z6WgIaUYwQ)
11160- [Export for Krita](http://www.youtube.com/watch?v=FFEZpl15Rb4)
11261- [Using layers, magic wand and perspective](http://www.youtube.com/watch?v=Hxinfs6ziFc)
11362- [Draw a fire](http://www.youtube.com/watch?v=yWgo0fcdOSg) (*overlay* blending mode)
11463- [Draw lightnings](http://www.youtube.com/watch?v=69cHd5W-Zyg) (*negation* blending mode)
11564- [Draw a neon with blur](http://www.youtube.com/watch?v=1rtHSPAUDnA) (*lighten* blending mode)
11665- [Spline selection and glow effect](http://www.youtube.com/watch?v=Lewg3iYkln8) (*glow* blending mode)
11766- [Drop shadow](https://www.youtube.com/watch?v=rsdPha36y50) (example of layer effect)
11867
119-</td>
120-
121-</tr>
122-
123-</table>
124-
12568### Download
12669
127-<table>
128-
129-<tr>
130-
131-<td bgcolor="#FFFFe0" style="border: 1px solid black; padding: 8px; text-align: center; border-radius:10px" width="30%">
132-
13370*Binaries can be downloaded on GitHub for Windows, Linux and macOS.*
13471
13572**[Download](https://lazpaint.github.io)** **[Portable](https://portableapps.com/apps/graphics_pictures/lazpaint-portable)**
13673
13774[Support this project](http://sourceforge.net/donate/index.php?group_id=404555)
13875
13976[[LazPaint Make it portable|How to make a portable version]]
14077
141-</td>
142-
143-<td>
144-
14578 
14679
147-</td>
148-
149-<td>
150-
15180**Source code**
15281
15382The source code can be downloaded on GitHub:
15483
15584LazPaint: <https://github.com/bgrabitmap/lazpaint/>
15685
15786BGRAControls: <https://github.com/bgrabitmap/bgracontrols/>
15887
15988BGRABitmap: <https://github.com/bgrabitmap/bgrabitmap/>
16089
16190Dependencies:
16291
163921. LazPaint depends on [[BGRAControls]] and [[BGRABitmap]].
164932. [[BGRAControls]] depends on [[BGRABitmap]].
16594
16695You can download the source code and compile it for a specific platform. MacOS version is now fully functional.
16796
168-</td>
169-
170-</tr>
171-
172-</table>
173-
17497### Compilation of latest version
17598
176991. Get **Lazarus** as a package in your distribution or download it at <https://sourceforge.net/projects/lazarus/files/>
1771002. Open **Lazarus** to check it works
1781013. Download latest version of *BGRABitmap* at <https://github.com/bgrabitmap/bgrabitmap/releases>
1791024. Open the package file *BGRABitmapPack.lpk* in **Lazarus**
1801035. Download latest version of *BGRAControls* at <https://github.com/bgrabitmap/bgracontrols/releases>
1811046. Open the package file *bgracontrols.lpk* in **Lazarus**
1821057. Download *LazPaint* at <https://github.com/bgrabitmap/lazpaint/releases>
1831068. Open the package file *lazpaintcontrols.lpk* in **Lazarus**
1841079. Open the project file *lazpaint.lpi* or *lazpaint.lpr* in **Lazarus** (choose to Open project if prompted)
18510810. Click the green triangle "Run" and check if the program is working
18610911. Close *LazPaint* and close **Lazarus** and go in the *release* folder of the project
187110
188111The essential files are: the executable file, the readme file, the *models*, *i18n* and *scripts* folders.
189112
190113Additional files and instructions are in *release* folder for each platform:
191114
192115- ***windows***: run the batch file *stage.bat* to generate a *lazpaint32* and *lazpaint64* folders that contains everything (it adds particular support for WebP and RAW images by adding *dcraw.exe* and *libwebp.dll*).
193116- ***macOS***: go in the folder with the terminal and call *./makedmg.sh* to generate the bundle.
194117- ***debian***: go in the folder with the terminal and call *./makedeb.sh* to generate the DEB package and the TAR.GZ file.
195118
196119Note: when debugging on Windows, you may want to have support for WebP and RAW images. You can do that by copying the *dcraw.exe* and *libwebp.dll* files next to the compiled files (for example *debug\i386-win32* for 32-bit version).
197120
198121### Screenshots
199122
200123#### LazPaint on Linux (and dark theme)
201124
202-<figure>
203-<img src="Lazpaint_version_7.png" title="Lazpaint_version_7.png" />
204-<figcaption>Lazpaint_version_7.png</figcaption>
205-</figure>
125+![](/wiki-images/c/c0/Lazpaint_version_7.png)
206126
207127#### LazPaint on Windows
208128
209-<figure>
210-<img src="Lazpaint_curve_redim.png" title="Lazpaint_curve_redim.png" />
211-<figcaption>Lazpaint_curve_redim.png</figcaption>
212-</figure>
129+![](/wiki-images/2/25/Lazpaint_curve_redim.png)
213130
214131#### LazPaint on Puppy Linux
215132
216-<figure>
217-<img src="lazpaint6_puppy.png" title="lazpaint6_puppy.png" />
218-<figcaption>lazpaint6_puppy.png</figcaption>
219-</figure>
133+![](/wiki-images/c/c0/Lazpaint6_puppy.png)
220134
221135### Interface
222136
223137Many 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.
224138
225139It 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.
226140
227141### Image manipulation
228142
229143An image can be resampled, flipped horizontally and vertically.
230144
231145Smart zoom x3 : resize the image x3 and detects borders; this provides a useful zoom with ancient games sprites.
232146
233147### Color manipulation
234148
235149- Colorize : set the color of an image while preserving intensities
236150- Shift colors : cycle colors and change colorness (saturation)
237151- Intensity : make colors lighter or darker without making them white
238152- Lightness : make colors lighter or darker by making them whiter
239153- Normalize : use the whole range of each color channel and alpha channel
240154- Negative : invert colors (with gamma correction)
241155- Linear negative : invert colors (without gamma correction)
242156- Grayscale : converts colors to grayscale with gamma correction
243157
244158### Filters
245159
246160Filters can be applied to the whole image or to the active selection.
247161
248162- Radial blur : non directional blur
249163- Motion blur : directional blur
250164- Custom blur : blur according to a mask
251165
252166- Sharpen : makes contours more accute, complementary to Smooth
253167- Smooth : softens whole image, complementary to Sharpen
254168- Median : computes the median of colors around each pixel, which softens corners
255169
256170- Contour : draws contours on a white background (like a pencil drawing)
257171- Emboss : draws contours with shadow
258172
259173- Sphere : spherical projection
260174- Cylinder : cylinder projection
261175- Clouds : add clouds of the current pen color
262176
263177---
264178*From the Free Pascal wiki, page "LazPaint", as it stood on 2024-01-30 after a change by Circular, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history