PAMCHANNEL(1)

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

πŸ’… pamchannel β€” the manual, but make it cute ✨

okay bestie, welcome to Pamchannel User Manual, section 1 of the General Commands Manual πŸŽ€ pull up a chair, grab a boba, we're learning a Netpbm tool and honestly? it's giving iconic.


✨ NAME ✨

pamchannel β€” extract channels from a PAM image πŸ¦‹


✨ SYNOPSIS ✨

pamchannel [-infile=infile] [-tupletype=tupletype] [channum ...]

okay so quick notes on the grammar situation, no cap:

  • Minimum unique abbreviation of any option is acceptable β€” like, you can shorten it as long as it's still unambiguous πŸ’…
  • You may use double hyphens instead of single hyphen to denote options. two dashes, one dash, she contains multitudes ✨
  • You may use white space in place of the equals sign to separate an option name from its value 🫢

✨ DESCRIPTION ✨

This program is part of Netpbm(1). 🌈

pamchannel reads a Netpbm image as input and produces a PAM image as output, consisting of the indicated channels (planes) of the input. literally just plucking the channels you asked for, like picking your fave charms off a bracelet πŸŽ€

Each channum argument is the number of a channel of the input, with the first channel being zero ⭐ (yes bestie, zero-indexed, we're programmers here). The channels in the output are in the order of these arguments β€” so you're fully in charge of the lineup, main character energy only 😌

The output is the same dimensions as the input, except that the depth is the number of channum arguments you supply. The tuple type is a null string unless you specify the -tupletype option.

This program works on multi-image streams, producing a corresponding output stream πŸ¦‹ But before Netpbm 10.32 (February 2006), it ignored every image after the first. so if you're time-traveling to old Netpbm, that's the tea πŸ’€

pamstack does the opposite of pamchannel: It takes multiple PAM or PNM images as input and stacks their planes (channels) on top of one another to yield a single PAM. so pamchannel is like, "give me just these vibes", and pamstack is like, "all of them, layered, periodt" πŸ’–


✨ OPTIONS ✨

In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), pamchannel recognizes the following command line options:

  • -infile infile β€” This specifies the input file, which defaults to Standard Input. You may specify - to select Standard Input explicitly. 🫢

This is a little unconventional for Netpbm programs, which usually have the input file specification as an argument. For pamchannel, the arguments are channel numbers. yeah she's quirky like that, but it makes sense, iykyk πŸ’…

  • -tupletype tupletype β€” This specified the tuple type name to be recorded in the output. πŸ’œ You may use any string up to 255 characters. Some programs recognize some names. If you omit this option, the default tuple type name is null.

✨ SEE ALSO ✨


✨ HISTORY ✨

pamchannel was new, along with the PAM format, in Netpbm 9.7 (August 2000). a true OG πŸ‘‘


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

and that's the whole page bestie πŸ’– this lil write-up came to you from the netpbm documentation, dated 10 January 2006, and it IS the Pamchannel User Manual β€” slay, mwah, go extract some channels βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from