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 π
β¨πΈ
π¦ where this page comes from
- arch rolling: xautomation 1.09-6 Β· GPL
- debian bookworm: xautomation 1.09-4 Β· GPL-2.0-or-later
- debian trixie: xautomation 1.09-4+b1 Β· GPL-2.0-or-later
- fedora 43: xautomation 1.09-14.fc43 Β· GPL-2.0-or-later
- fedora 44: xautomation 1.09-15.fc44 Β· GPL-2.0-or-later
- nixos 26.05: xautomation 1.09
- nixpkgs unstable: xautomation 1.09
- ubuntu jammy: xautomation 1.09-4 Β· GPL-2.0-or-later
- ubuntu noble: xautomation 1.09-4build2 Β· GPL-2.0-or-later
- ubuntu questing: xautomation 1.09-4build2
- ubuntu resolute: xautomation 1.09-4build3 Β· GPL-2.0-or-later
- ubuntu stonking: xautomation 1.09-4build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms