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.
png2pat was written by Steve Slaven <[email protected]>.
This manual page was written by Aurelien Jarno <[email protected]>, for the Debian project (but may be used by others).