pfspad(1)

✨ pfspad(1) β€” the "give ur frame a lil outfit" manual ✨

okay so bestie, welcome to pfspad, a lil member of the General Commands Manual family πŸŽ€ and literally all it does is dress up your frames with borders. that's it. that's the whole job. and it eats. πŸ’…


🌸 NAME 🌸

pfspad β€” Add borders to a frame in PFS stream πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

pfspad [--left <columns>] [--right <columns>] [--top <rows>] [--bottom
<rows>] [--width <new_width>] [--height <new_height>] [--R <val>] [--G
<val>] [--B <val>] [--Y <val>] [--help]

πŸ‘‘ DESCRIPTION πŸ‘‘

So the vibe is: pfspad adds borders to each frame in a PFS stream 🌈. You get to say how big the left, right, top and bottom borders are β€” or you can just declare how big the output image should be and let it cook. And because we're extra, you can also pick the color of those borders. no cap. 🫢


πŸ’… OPTIONS πŸ’…

  • --left <columns>, -l <columns> β€” Width in pixels of the left border. that left-side glow-up 🌸
  • --right <columns>, -r <columns> β€” Width in pixels of the right border. right side, ur turn πŸ’œ
  • --top <rows>, -t <rows> β€” Height in pixels of the top border. hat energy, fr fr πŸŽ€
  • --bottom <rows>, -b <rows> β€” Height in pixels of the bottom border. the shoes of the fit ✨
  • --width <new_width>, -W <new_width> β€” Width of an output image. heads up bestie: --width can be mixed with either --left or --right option πŸ‘€
  • --height <new_height>, -H <new_height> β€” Height of an output image. and again: --height can be mixed with either --top or --bottom option 🫢
  • --R <val>, -R <val>, --G <val>, -G <val>, --B <val>, -B <val> β€” Color of borders in RGB mode. default color is black, and if some of the components is not specified, its value is set to 0.0. so like, if you're quiet about a channel, it just gets 0.0. periodt πŸ’€
  • --Y <val>, -Y <val> β€” Color of borders in luminance mode. for the monochrome girlies ⭐
  • --help, -h β€” Print a list of commandline options. the "help me bestie" button πŸ™ˆ

πŸ“ EXAMPLES πŸ“

okay these two are literally the blueprint, copy them exactly:

pfsin image.hdr | pfspad --left 50 --bottom 20 | pfsout out.hdr

Add 50 columns to the left and 20 rows to the bottom side of image.hdr. Color of borders is default black. iconic, low effort, high reward πŸ’–

pfsin image.hdr | pfspad --top 20 --height 500 --width 400 --R 1.0 |
pfsout out.hdr

Add 20 rows to the top side of image.hdr and create output image out.hdr 500 pixels in height and 400 pixels in width. Color of borders is set to red πŸ”₯. she's serving, honestly.


🌈 SEE ALSO 🌈

the whole friend group, iykyk 🫢


πŸ’€ BUGS πŸ’€

Please report bugs and comments to Dorota Zdrojewska <dzdrojewska@wi.ps.pl>. she wants ur feedback, bestie, don't leave her on read 😭


ngl this whole page is from the General Commands Manual, and the footer at the bottom just says pfspad(1) β€” that's the source/version tag and date situation, cute lil signature, mwah πŸ’‹

okay that's the whole page, go pad some frames, love u, bye πŸ‘‘βœ¨