Skip to main content

Module ping

Module ping 

Source
Expand description

-ping runner — print one IM-format header line per “image” and exit without decoding pixels or writing any output.

Output line shape (matches imagemagick identify / convert -ping input info:):

<path> <FORMAT> <W>x<H> <W>x<H>+0+0 <DEPTH>-bit <COLORSPACE> <BYTES>B

For multi-page inputs (PDF) one line per selected page is emitted with the path suffixed [N]. For container inputs we emit one line per video stream (skipping audio-only files with a friendly note).

Functions§

run
Print IM-format ping lines for plan.input to stdout.