Please enable JavaScript to view this site.

A-Shell Development History

AUI_IMAGE enhancement: new opcode IMGOP_PAGEINFO (12) 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  (str)  [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: for ATE, both server and client must be at least 6.1.1362.0 to support this feature.