PGMNOISE(1)

πŸ’– PGMNOISE(1) β€” the Pgmnoise User Manual, bestie edition πŸ’–

okay so you're here because you want a PGM image that's literally just white noise. iconic request. slay. this page comes to you from the Pgmnoise User Manual, section 1 of the General Commands Manual, and it's gonna tell you everything. no gatekeeping. 🫢


✨ NAME ✨

pgmnoise β€” create a PGM image made up of white noise


✨ SYNOPSIS ✨

pgmnoise width height

[-maxval=n] [-randomseed=integer]

a few little quality-of-life notes that apply to the options:

  • Minimum unique abbreviations of option are acceptable. so like, you can shorten things as long as it's still unambiguous. queen behavior.
  • You may use double hyphens instead of single hyphen to denote options. --maxval hits the same as -maxval, we're not picky.
  • You may use white space in place of the equals sign to separate an option name from its value. so -maxval 255 is giving the same energy as -maxval=255. πŸ’…

✨ DESCRIPTION ✨

This program is part of Netpbm(1). family reunion, basically.

pgmnoise creates a PGM image that is made up of pixels of random brightness. that's the whole vibe. chaos, but make it a raster format. 🌈

You specify the dimensions of the image with the width and height arguments. those two little numbers are the entire size of your noise kingdom.

⭐ important historical tea ⭐ The randomness in the image is limited before Netpbm 10.37 (December 2006) β€” if you run the program twice in the same second, you may get identical output. literally not a bug, just old. fixed in 10.37, periodt.

✨ OPTIONS ✨

On top of the options common to all programs based on libnetpbm β€” most notably -quiet, see Common Options β€” pgmnoise recognizes the following command line options:

  • -maxval=n β€” the maxval of the generated image. it's the ceiling for your pixel values, bestie. Default is 255. πŸŽ€ This option was new in Netpbm 10.63 (June 2013). freshly added, still cute.
  • -randomseed=integer β€” this is the seed for the random number generator that generates the pixels. 🌱 Use this to ensure you get the same image on separate invocations. same seed, same noise, every single time β€” reproducible queen πŸ‘‘ By default, pgmnoise uses a seed derived from the time of day and process ID, which gives you fairly uncorrelated results in multiple invocations. so if you don't set it, every run is a lil surprise. 🎲 This option was new in Netpbm 10.45 (December 2008).

✨ SEE ALSO ✨


✨ AUTHOR ✨

Copyright (C) 1993 by Frank Neumann


✨ 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/pgmnoise.html

and that's the whole page, babe. πŸ’œ this has been the netpbm documentation, dated 27 June 2013, from the Pgmnoise User Manual β€” k, love u, bye πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from