EPSFFIT(1)

πŸ“¦ version 61719, in fedora 43, fedora 44

✨ epsffit β€” the manual page, but make it a group chat πŸ’–

okay bestie, so this is epsffit(1), a General Commands Manual girlie from the PSUtils family, and she is here to help you squeeze an encapsulated PostScript file (that's EPSF, iykyk) into a size you actually asked for. πŸŽ€


🌸 NAME 🌸

epsffit β€” fit encapsulated PostScript file (EPSF) into constrained size

no cap, that's literally her whole job. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

epsffit [-c] [-r] [-a] [-m] [-s] llx lly urx ury [infile [outfile]]

she takes a bunch of little flags, four numbers, and then optionally an input file and an output file. so many options, so much main character energy. πŸ‘‘


🌈 DESCRIPTION 🌈

okay so here's the vibe. epsffit takes an EPSF file β€” encapsulated PostScript, the little self-contained icon of the PostScript world β€” and fits it into a bounding box you give her. 🫢

the box is described by coordinates:

  • (llx,lly) β€” the lower left corner πŸ“
  • (urx,ury) β€” the upper right corner πŸ¦‹

and those are in PostScript units (points), bestie, not pixels, not inches, points. periodt.

and if you don't specify an input or output file? she's not gonna make a big deal out of it. she just reads from standard input and writes to standard output. iconic behavior honestly. πŸ’–


πŸ’… OPTIONS πŸ’…

one bullet per flag, as the universe intended:

  • -c β€” Center the image in the given bounding box. she goes in the middle. balance. symmetry. ate. ✨
  • -r β€” Rotate the image by 90 degrees counter-clockwise. spin her around, bestie. πŸ”„
  • -a β€” Adjust the aspect ratio to fit the bounding box. heads up though: The default is to preserve the aspect ratio, so this one is you actively choosing chaos (respectfully). 😭
  • -m β€” Rotates the image to maximise the size if it would fit the specified bounding box better. like, she'll turn it if turning it makes it bigger. that's just smart. 🧠
  • -s β€” Add a showpage at the end of the file to force the image to print. force her. make her show up on paper. πŸ–¨οΈπŸ”₯

πŸ‘‘ AUTHOR πŸ‘‘

Written by Angus J. C. Duggan. we love a legend, we stan. πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

go read that one next, bestie, it's the whole squad. 🫢


⭐ TRADEMARKS ⭐

PostScript is a trademark of Adobe Systems Incorporated. legal girlies, this one's for you. πŸŽ€


okay that's the whole page!! nothing skipped, nothing invented, every flag accounted for. slay. πŸ’–

and that's a wrap on EPSFFIT(1), brought to you by PSUtils β€” mwah, catch you in the next manpage bestie πŸŒΈβœ¨πŸ’…

πŸ“¦ where this page comes from