PGMMAKE(1)

πŸ“¦
version 11.13.03 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 5 and -maxval=5 are 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.:

  • 1 is white ⭐
  • 0 is black πŸŒ‘
  • 0.5 is 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 is 255. 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