Count Pages

Added September 2013

IMGOP_PAGEINFO returns the number of pages in a multi-page TIF file.

xcall AUI, AUI_IMAGE, IMGOP_PAGEINFO, handle, status, filename, pages

Parameters

handle

Ignored. It is here only for uniformity with other opcodes

status  (F,6)  [out]

returns status; 0 for success

filename  (String)  [in]

file to examine, as for opcode 1

pages  (Num)  [out]

returns the number of pages in the file. 0 indicates that the number is unknown—or more likely, the file does not support multiple pages

Note that in order for this feature to be used with ATE, both server and client must be on A-Shell 6.1.1362.0 or later.

History

2013 September, A-Shell 6.1.1362:  function added to A-Shell