patextract(1)

patextract1

Extract a part of a png image file

Usage

patextract infile x y width height

Overview

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.

Options

This command does not have any options.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–4.0
  2. 5.0–Arch

Author

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).

From xautomation 1.09-6 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.