LazPaint(1)

πŸ’– LazPaint(1) β€” the manual, but make it slay πŸ’–

okay bestie, welcome to the LazPaint(1) man page, section 1 of the manual, and honestly? you're about to have the best time. this is the whole thing, nothing skipped, just with the vibe it deserves. πŸŽ€


✨ NAME ✨

LazPaint β€” it's an image editor. that's the whole name, that's the whole job. iconic. πŸ’…


🌸 SYNOPSIS 🌸

lazpaint [INPUT FILE] [OUTPUT FILE]
lazpaint [INPUT FILE] [ACTION]... [OUTPUT FILE]

so you either give it an input and an output, or you give it an input, a whole lil stack of actions, and then an output. that's the shape of it. πŸ¦‹


πŸ‘‘ DESCRIPTION πŸ‘‘

it's a graphics viewer and editor, both. multi-talented. main character energy fr.

here's the tea on what it can read, and bestie it reads a LOT:

  • layered files: lzp, ora, pdn, oXo
  • multi-images: gif, ico, tiff
  • flat files: bmp, jpeg, pcx, png, tga, xpm, xwd
  • vectorial: svg
  • 3D: obj

and it's not just a reader β€” it's got drawing tools, phong shading, curve adjustments, filters, and it can render some textures. she does it all. no cap. πŸ”₯


✨ OPTIONS ✨

first up, the general behaviour, because this part is important:

if supplied, the INPUT FILE is loaded. if the OUTPUT FILE is supplied, the image is saved and the program ends. otherwise, the GUI of the program is displayed. so like β€” no output file means you're hanging out in the window. okay? okay. πŸ’–

  • -scriptbasedir DIRECTORY β€” sets the directory where the Python scripts for LazPaint are located. that's it, that's the whole thing. keep your scripts cute and organised. πŸŽ€
  • -script FILENAME β€” runs the specified Python script. heads up bestie, it must have a ".py" extension. no .py, no party. 🐍
  • -quit β€” quits the program even if no output file was provided. lowkey the MVP when you're only running scripts and you don't want it just sitting there. πŸ’…
  • -new WIDTH,HEIGHT β€” creates an empty image of size WIDTH x HEIGHT. blank canvas moment. ✨
  • -resample WIDTH,HEIGHT β€” resamples the image to the size WIDTH x HEIGHT. glow-up, but for pixels. 🌸
  • -opacity ALPHA β€” applies the opacity to the image. ALPHA is between 0 and 255. soft launch energy. πŸ¦‹
  • -gradient R1,G1,B1,A1,R2,G2,B2,A2,TYPE,X1,Y1,X2,Y2 β€” renders a gradient from point X1,Y1 to point X2,Y2. TYPE can be linear, reflected, diamond, radial or angular. the starting color is (R1,G1,B1,A1) and the final color is (R2,G2,B2,A2). that's a lot of numbers but you got this. 🌈
  • -horizontalflip β€” flips selection or image horizontally. left-right situation. πŸ”„
  • -verticalflip β€” flips selection or image vertically. up-down situation. πŸ™ƒ
  • -swapredblue β€” swap red and blue channels. chaos but make it chromatic. πŸ’€
  • -smartzoom3 β€” resample the image 3 times bigger with smart detection of borders. she's smart AND she's zoomed. πŸ‘‘
  • -rotatecw β€” rotates the image clockwise. πŸ”
  • -rotateccw β€” rotates the image counter-clockwise. ↩️
  • -rotate180 β€” rotates the image 180 degrees. full send, all the way around. πŸ’«

and that's the whole page, bestie. you read all of it. i'm so proud. 🫢

this was LazPaint(1) β€” source and version: LazPaint, dated 18 May 2020. now go edit something gorgeous. periodt. πŸ’–βœ¨πŸŽ€