PGMMAKE(1)
π PGMMAKE π
okay bestie, so this is the Pgmmake User Manual, from the General Commands Manual section, and it's literally the cutest little gray-square generator you've ever met π
β¨ NAME β¨
pgmmake β create a PGM image of a specified gray level and dimensions
like. it makes a picture. of one (1) gray. at whatever size you want. iconic behavior fr fr π
πΈ SYNOPSIS πΈ
pgmmake [-maxval=maxval] graylevel width height
okay so a few lil ground rules before we get into it, and they apply to all the options, no cap:
- All options can be abbreviated to their shortest unique prefix. so if you're feeling lazy (valid), shorter is fine as long as it's not ambiguous π«Ά
- You may use two hyphens instead of one to designate an option. one hyphen, two hyphens, she doesn't care, she's flexible like that π
- You may use either white space or an equals sign between an option name and its value. so
-maxval 5and-maxval=5are both giving the same energy β¨
π¦ DESCRIPTION π¦
This program is part of Netpbm(1). it's in the family, it belongs, it's the middle child and we love her π
pgmmake produces a PGM image of the specified gray level, width, height, and maxval. that's the whole job. she does one thing and she ATE. π
Specify the gray level (graylevel) as a decimal floating point number in the range [0, 1]. E.g.:
1is white β0is black π0.5is half luminosity gray π«οΈ
so basically it's a slider from dark to light and you're the DJ ποΈβ¨
π EXAMPLES π
here's the good stuff, bestie, the demo reel:
pgmmake 1 50 50
that's a 50Γ50 pure white square. minimalism. slay. π€
pgmmake .2 50 100 -maxval=5
that's a 50-wide, 100-tall kinda-dark gray, with maxval set to 5. she's custom, she's specific, she's main character energy π
π OPTIONS π
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), pgmmake recognizes the following command line option:
-maxval=maxvalβ The maxval for the generated image. Default is255. so if you don't say anything, she assumes 255, because that's just the house default and honestly it's a good one π«Άβ¨
π SEE ALSO π
pbmmake(1), ppmmake(1), pgm(1)
siblings!! go say hi!! they're all in the same friend group π
π HISTORY π
This program was new in Netpbm 10.32 (February 2006). so she's a 2006 baby, vintage but still serving πβ¨
With older Netpbm, use ppmmake and ppmtopgm. like, that's the throwback route, the OGs, iykyk π
π DOCUMENT SOURCE π
This manual page was generated by the Netpbm tool makeman from HTML source. The master documentation is at
http://netpbm.sourceforge.net/doc/pgmmake.html
go check the source bestie, it's where the lore lives π§
okay that's the whole page!! no notes, she's perfect, 10/10, would read again π
this lil masterpiece came to you courtesy of netpbm documentation, dated 19 February 2006, and yes it's still officially titled Pgmmake User Manual(1). byeeeeee π¦β¨π
π¦ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 Β· MIT
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms