PPMQVGA(1)
π PPMQVGA π
okay bestie, gather round, because we're talking about ppmqvga β straight out of the General Commands Manual, section 1. it's the little quantizer that could, and honestly? it eats. β¨
π NAME π
ppmqvga β 8 plane quantization
like. that's it. that's the whole job. and it does it gorgeously. π
πΈ SYNOPSIS πΈ
ppmqvga [ options ] [ input file ]
π¦ DESCRIPTION π¦
so here's the tea: ppmqvga takes your PPM files and quantizes them down to 8 planes. and if you want, it'll throw in some Floyd-Steinberg dithering on top, which is the glow-up your gradients have been begging for. π
where does the input come from? two options, pick your fighter:
- a PPM file from the file you name on the command line, or
- standard input if you don't hand it a file at all.
pipes? yes bestie. we love pipes here. π«Ά
β¨ Options β¨
-dβ dither. applies Floyd-Steinberg dithering to the data. this is the one that makes it look fancy. π-qβ quiet. no progress reporting, no terminal output whatsoever... unless an error happens, in which case it will absolutely speak up. not me being silent and then screaming. π-vβ verbose. gives you extra output: how many colors were found, plus some info about the resulting mapping. you can repeat it to generate loads of internal table output, but fr fr, once is generally the useful amount. the second-vis for the girlies who want to see the raw tables and nothing else. π
π EXAMPLES π
dither it and pipe it into a GIF, iconic behavior:
ppmqvga -d my_image.ppm | ppmtogif >my_image.gif
rescue a TGA and turn it into a TIFF, main character pipeline energy:
tgatoppm zombie.tga | ppmqvga | ppmtotif > zombie.tif
see how ppmqvga just slides into the middle of a pipeline like it owns the place? because it does. π
π SEE ALSO π
ppmquant
(your other quantizer bestie. go say hi.) π
π₯ DIAGNOSTICS π₯
error messages if there are problems, plus various levels of optional progress reporting. so like... it will tell you things. how much it tells you is between you and your flags. π
πΈ LIMITATIONS πΈ
none known.
periodt. no known limitations. flawless. no notes. π β¨
π AUTHOR π
- original by Lyle Rains (
lrains@netcom.com) asppmq256andppmq256fs - combined, documented, and enhanced by Bill Davidsen (
davidsen@crd.ge.com)
two legends, one manpage. we stan. π«Ά
π Copyright π
Copyright 1991,1992 by Bill Davidsen, all rights reserved. The program and documentation may be freely distributed by anyone in source or binary format. Please clearly note any changes.
so yes bestie, share it, fork it, ship it in source or binary β just clearly note any changes you make, okay? be a good citizen. π
and that's the whole page, bestie!! this came from the local manual set β PPMQVGA(1), section 1, General Commands Manual. no cap, that's genuinely all of it. now go quantize something. mwah. πβ¨π¦
π¦ where this page comes from
- ubuntu jammy: netpbm 2:10.0-15.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms