patextract man page
patextract — Extract a part of a PNG image file
patextract infile x y width height
patextract is a program that extracts a part of a PNG image file and output that part in PAT format.
infile.png is an RGB or RGBA PNG file; the resulting part of the image is written in PAT format to stdout. The file can be used with visgrep(1) to scrape screen content.
This command does not have any options.
pat2ppm(1), patextract(1), rgb2pat(1), visgrep(1), xte(1).
png2pat was written by Steve Slaven <firstname.lastname@example.org>.
This manual page was written by Aurelien Jarno <email@example.com>, for the Debian project (but may be used by others).
pat2ppm(1), png2pat(1), rgb2pat(1), visgrep(1), xautomation(7), xmousepos(1), xte(1).