PPMFLASH(1)

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

πŸ’– Ppmflash User Manual πŸ’–

okay bestie, welcome to the ppmflash(1) page from the Netpbm User Manual β€” general commands manual, the whole vibe. it's giving "make ur pic blush" energy and i'm obsessed. let's go ✨


✨ NAME ✨

ppmflash β€” brighten a picture to approach white

🌸 SYNOPSIS 🌸

ppmflash flashfactor [ppmfile]

πŸ¦‹ DESCRIPTION πŸ¦‹

so! this program is part of Netpbm(1) πŸ’–. like, it's one of the family, iykyk.

ppmflash reads a PPM image as input. it changes the color of each pixel to bring it a specified amount closer to white 🫧. then it generates a PPM image of the result. that's the whole thing. she's simple, she's iconic, she ate.

flashfactor is a real number between 0 and 1, inclusive. no cap. and here's how the math goes, bestie, follow me:

ppmflash increases the intensity of each RGB component by the fraction flashfactor of the difference between the current value and full intensity. so basically it looks at how far you are from full blast and walks you partway there 🌈.

so like, if a pixel contains 60% full red, 10% full green, and no blue and you specify 0.5 (half), ppmflash increases the red to 80% (because it was 40% from full intensity, so it adds half of 40% to the original 60%), the green to 55%, and the blue to 50%. math girlies rise 🧚

quick vibe check on the extremes:

  • if flashfactor is zero, the output is identical to the input. like, why are you even here. (love that for you though)
  • if flashfactor is one, the output is all white. fully white. blank canvas. she's ✨ethereal✨.

now, some cousins you should know about πŸ‘‘:

  • pambrighten does a more normal kind of brightening.
  • pamfunc does a very simple brightening.
  • both pambrighten and pamfunc can reduce brightness as well β€” so they go both directions, unlike our girl.
  • pnmgamma is another way people do a similar brightening, though it isn't really intended for that. πŸ’€

πŸ’… OPTIONS πŸ’…

real talk: there are no command line options defined specifically for ppmflash. not one. she comes as she is πŸ™ˆ.

but! she does recognize the options common to all programs based on libnetpbm (See Common Options.) so you're not totally alone in here, bestie 🫢


🌈 SEE ALSO 🌈

pambrighten(1) pamfunc(1), pnmgamma(1), ppm(1),


πŸŽ€ AUTHOR πŸŽ€

Copyright (C) 1993 by Frank Neumann


πŸ’œ 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/ppmflash.html

ok that's the whole page, no skips, no summaries, we kept every single crumb πŸ“

netpbm documentation, dated 26 January 2003, and yes, the footer says it's the Ppmflash User Manual(1) β€” mwah, slay, periodt πŸ’…βœ¨πŸ’–

πŸ“¦ where this page comes from