Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

LazPaint Command line

English · Français · Suomi

Go back

Command line

General use :

text
lazpaint inputfile [/command1 [/command2...]] [outputfile]

Or

text
lazpaint inputfile [-command1 [-command2...]] [outputfile]

On Linux, the command prefix is "-".

On Windows, the command prefix can be "-" or "/".

Line without command

You can omit commands to convert an image to another file format. For example :

text
lazpaint image.pdn image.png

will flatten and save a Paint.NET image into a PNG.

Line without output file

If you do not specify an output file, the application is opened with the resulting image. For example:

text
lazpaint image.png /RotateCW

will open the image with a 90° rotation.

Line without input file

You can also create an image out of nothing. For example :

text
lazpaint /New(800,600) /Gradient(255,255,255,255,0,0,0,255,Linear,0,0,800,600) blackwhite.png

will create an image with a black and white gradient and save it into blackwhite.png.

General commands

Here is the list of supported commands :

For example :

text
lazpaint bigimage.bmp /Resample(320,200) smallimage.png

will save a small copy of bigimage.bmp into smallimage.png

Filter commands

You can apply filters with default values. Here is the list of filter commands:

Blur filters : BlurPrecise, BlurRadial, BlurFast, BlurCorona, BlurDisk, BlurMotion, BlurCustom

Pixel filters : Sharpen, Smooth, Median, ClearType, ClearTypeInverse, Emboss, Contour, Grayscale, Negative, LinearNegative, ComplementaryColor, Normalize, SmartZoom3

Deformation filters : Sphere, Twirl, Cylinder, Plane

Rendering filters : PerlinNoise, CyclicPerlinNoise, Clouds, CustomWater, Water, Wood, WoodVertical, Plastik, MetalFloor, Camouflage, SnowPrint, Stone, RoundStone, Marble

For example :

text
lazpaint photo.jpg /Contour /Emboss /Normalize

will transform the image into a carved stone.


From the Free Pascal wiki, page "LazPaint Command line", as it stood on 2015-07-10 after a change by FTurtle, 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.

Revision 2, last changed by WikiArchive .