PATEXTRACT(1)

πŸ’– PATEXTRACT(1) β€” General Commands Manual πŸ’–

okay bestie, gather round, because today we're learning about patextract, a lil cutie from the General Commands Manual section of your friendly neighbourhood Unix system. she does one job and she does it flawlessly ✨


✨ NAME ✨

patextract β€” extract a part of a PNG image file πŸ–ΌοΈβœ‚οΈ


✨ SYNOPSIS ✨

patextract infile x y width height

that's it. five things. no flags, no drama, no weird little -- situation. just vibes and coordinates πŸ’…


✨ DESCRIPTION ✨

so here's the tea β˜•: patextract is a program that extracts a part of a PNG image file and outputs that part in PAT format. like, it takes a lil rectangle out of your picture and hands it back to you in a whole different format. lowkey iconic of her πŸŽ€

infile.png is an RGB or RGBA PNG file β€” yes bestie, both work, she's not picky πŸ’œ β€” and the resulting part of the image gets written in PAT format to stdout. so don't be out here wondering where your file went, it's going to standard output, fr fr.

and why would you even want that? because the file can be used with visgrep(1) to scrape screen content πŸ‘€ β€” like, actually look at what's on your screen and find stuff. main character energy for real.


✨ OPTIONS ✨

not me checking the options section and finding out there are literally none 😭

This command does not have any options.

periodt. no flags. no -h, no -v, nothing. she takes her five arguments and she goes πŸ’…


✨ SEE ALSO ✨

the friend group 🫢 β€” go say hi to all of them:


✨ AUTHOR ✨

png2pat was written by Steve Slaven <bpk@hoopajoo.net> 🌟

This manual page was written by Aurelien Jarno <aurel32@debian.org>, for the Debian project (but may be used by others). sharing is caring bestie πŸ’–


and that's the whole page! πŸ¦‹ this one came straight out of the General Commands Manual, dated October 18, 2003 β€” a vintage queen, honestly πŸ‘‘ β€” and it's page PATEXTRACT(1) in case you need to cite her in your group chat. mwah, study hard, hydrate, and go extract some pixels πŸ’…βœ¨πŸŒΈ