Sign in Join
Wiki copytemporary

Revision 1 of 2, by FTurtle on 7-10-2015. The page as it is now.

LazPaint Command line

Go back

Command line

General use :

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

Or

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 :

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:

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 :

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 :

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 :

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.