PPMIMGVQUANT(1)

πŸ“¦
version 2.1 Β· 2 versions
, in debian bookworm, opensuse-leap 16.0, ubuntu noble

πŸ’– PPMIMGVQUANT(1) πŸ’–

okay bestie, welcome to ppmimgvquant, straight outta the General Commands Manual β€” it's the palette quantifier for Pilot Image Viewer pgm files, version 2.1, and it's literally so simple it's iconic.


✨ SYNOPSIS ✨

ppmimgvquant [-4] [-h] [-v] [ppmquant options]

🌸 DESCRIPTION 🌸

So here's the tea: ppmimgvquant is a tiny little wrapper that just calls ppmquant(1) with this map file πŸ‘‡

P3
4 1
255
  0   0   0
 85  85  85
170 170 170
255 255 255

But wait, there's more 🫢 β€” if you pass -4, then we use this map file instead:

P3
16 1
255
  0   0   0
 17  17  17
 34  34  34
 51  51  51
 68  68  68
 85  85  85
102 102 102
119 119 119
136 136 136
153 153 153
170 170 170
187 187 187
204 204 204
221 221 221
238 238 238
255 255 255

And then, because we're extra like that πŸ’…, the ppmquant(1) output also gets piped through ppmtopgm(1) to make sure the output file is a graymap. no cap. that's the whole vibe.


πŸŽ€ OPTIONS πŸŽ€

  • -4 β€” Convert to a 4 depth image (for Palm IIIx/V). ✨
  • -h β€” Display a usage message and exit. bye bestie πŸ‘‹
  • -v β€” Display the version number and exit. πŸ’«
ngl, every single other switch just gets handed straight to ppmquant(1). not our problem, not our business πŸ’–

πŸ‘€ SEE ALSO πŸ‘€


πŸ’€ BUGS πŸ’€

Found a bug? 😭 Do not just suffer in silence β€” bug reports should be sent to Eric A. Howe (mu@trends.net). he's the main character of this bug-fixing arc, fr fr.


πŸ‘‘ LICENSE πŸ‘‘

Copyright (C) 1997,1998 Eric A. Howe <http://www.trends.net/~mu>.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.


and that's the whole page bestie πŸ¦‹ this lil cutie has been living its best life since Sept 1997, and yeah, it's still showing up as PPMIMGVQUANT(1) at the bottom like the icon it is βœ¨πŸ’–