PAMTOPDBIMG(1)

πŸ‘‘ NAME πŸ‘‘

pamtopdbimg β€” convert a Netpbm image to a Palm Pilot Image Viewer PDB Image πŸ“Ÿβœ¨


πŸŽ€ SYNOPSIS πŸŽ€

pamtopdbimg

[-notefile=filename] [-title=text] [-compressed] [-uncompressed]
[-maybecompressed] [-4depth] [-fixedtime]

[netpbmfile]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so first things first: this program is part of Netpbm(1) πŸ’–

pamtopdbimg reads a Netpbm image as input and produces a Palm Pilot Image Viewer image (and an Image record in a PDB file) as output. yes bestie, we're out here making files for a literal PDA, it's giving retro main character energy and I'm obsessed πŸ”₯

if the Netpbm image is black and white, the Pilot image is monochrome. otherwise, the Pilot image is either 4-level or 16-level grayscale β€” depends on the -4depth option, iykyk πŸ’…


✨ OPTIONS ✨

on top of the options common to every program based on libnetpbm (most notably -quiet, see Common Options), pamtopdbimg recognizes these cuties:

  • -title=text β€” the title of the image, and it gets included in the image 🏷️
  • -compressed β€” says to generate the image in compressed format.
  • -uncompressed β€” says to generate the image in uncompressed format.
  • -maybecompressed β€” says to generate whichever format is smaller (because the compression algorithm sometimes actually makes the data larger, not me being dramatic, that's just real 😭).
fr fr: you may specify only one of -compressed, -uncompressed and -maybecompressed. pick one bestie, don't be greedy πŸ’€
  • -4depth β€” this option makes pamtopdbimg create the image in 16-level grayscale (4 bits per pixel) format. if you don't specify it, pamtopdbimg uses 4-level (2 bits per pixel) format instead.

this option has no effect when the input is black and white (maxval 1). in that case, pamtopdbimg generates the monochrome (1 bit per pixel) format regardless. it said what it said 🫢

  • -notefile=filename β€” attach the note in the specified file to the image πŸ“ if you don't specify this, pamtopdbimg does not attach any note. no note, no problem.
  • -fixedtime β€” fake the mtime and ctime values in the PDB image with a value that is the same every time you run the program. this facilitates testing and verification because it means with the same input you always get the same output. iconic behavior honestly ⭐

this option was new in Netpbm 10.98 (March 2022).


πŸ‘€ SEE ALSO πŸ‘€

pdbimgtopam(1), palmtopnm(1), pam(1),


πŸ“œ HISTORY πŸ“œ

pamtopdbimg was new in Netpbm 10.52 (September 2010) πŸŽ‰ it was modelled after Eric A. Howe's imgvtopbm package, which dates all the way back to September 1997. a true ancestor, we respect the lineage πŸ™Œ


πŸ” 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/pamtopdbimg.html

and that's the whole vibe check bestie πŸ’– this page came to you straight from the netpbm documentation, dated 12 March 2022, and yeah β€” it's the Pamtopdbimg User Manual(1) in all its glory. go convert something cute πŸŽ€βœ¨

πŸ“¦ where this page comes from