PPMIMGVQUANT(1)
π 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 π
imgvinfo(1)imgvtopnm(1)imgvview(1)pbmtoimgv(1)pgmtoimgv(1)ppmquant(1)ppmtopgm(1)pbm(5)pgm(5)
π 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 β¨π
π¦ where this page comes from
- debian bookworm: imgvtopgm 2.1-2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: imgvtopgm 2.1-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: imgvtopgm 2.1-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: imgvtopgm 2.1-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: imgvtopgm 2.1-bp160.1.12 Β· GPL-2.0-or-later
- ubuntu noble: imgvtopgm 2.1-2build2 Β· GPL-2.0-or-later
- Copyright (C) 1997 Eric A. Howe
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms