PSWHITE(1NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ PSWHITE πŸ’…

okay bestie, so this is pswhite from the NCAR GRAPHICS manual, section 1NCARG β€” yes, that's the manual name, we're naming her, she's iconic πŸ’–


🌸 NAME 🌸

pswhite β€” a PostScript filter. that's it, that's the girl πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

pswhite < input_PostScript_file > output_PostScript_file

like. she eats a PostScript file through stdin and serves a PostScript file back out stdout. plumbing, but make it fashion πŸ’…


✨ DESCRIPTION ✨

okay so pswhite is a filter, meaning she reads a PostScript file as input and writes a PostScript file as output. no cap.

here's the actual tea tho β€” in that output file, the filter does two things:

  • she forces a white background. periodt. the background is white now, no debating 🫢
  • she complements the intensity values (and by "intensity values" we mean values where R=G=B) so that the default white foreground shows up as black on that white background. the way that she just flips it 😭✨
⚠️ real talk, this is the important part: this filter works only on PostScript files produced by ctrans β€” that's the CGM translator in the NCAR Graphics software. literally only those. don't try to feed her some random PostScript from the wild, she will not know what to do with it πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

  • ctrans(1NCARG) β€” the CGM translator, aka the only source of files she'll accept
  • psblack(1NCARG) β€” her counterpart, the other sibling in this filter family 🌈

Copyright (C) 1987-2002 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.

yeah, legal said what legal said, we respect the license agreement in this house πŸ’œ


okay bye ily, go filter something β€” and remember: NCAR, September 1990, that's the source, the version vibe and the date, all wrapped up in one cute little sign-off πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from