IvwErrorCallbackStruct(5)
DESCRIPTION
The error codes for the IvwCreateDisplay(), IvwGetRegion(), and IvwSetZoomRegion() functions are returned to the error field of the IvwErrorCallbackStruct structure. A code of IVW_OK (0) means the function was successful. Otherwise, the error code is one of those listed in /opt/image/src/display_widget/IvwDisplay.h, which are explained in this man page.
IVW_ERROR_MEMORY_ALLOCATION (1)
There was insufficent memory.
IVW_ERROR_FILE_NOT_FOUND (2)
The function could not find the image file to display.
IVW_ERROR_UNRECOGNIZABLE_FILE (3)
The function could not decode the image file.
IVW_ERROR_INVALID_PAGE (4)
The page number specified was less than 1 or greater than the number of pages in the image file.
IVW_ERROR_NO_IMAGES_IN_FILE (5)
The image file was empty.
IVW_ERROR_EXECUTE_PIPE (6)
An internal error occurred when trying to execute the Image Library pipe.
IVW_ERROR_FORMING_PIPE (7)
An internal error when trying to create the Image Library pipe.
IVW_ERROR_INVALID_REGION_SIZE (51)
The zoom region has a width or height of zero.
IVW_ERROR_IL_CREATE_CONTEXT (101)
An initialization error occurred.
IVW_ERROR_IL_CREATE_XWC (102)
An initialization error occurred.
IVW_ERROR_IL_CREATE_PIPE (103)
An initialization error occurred.
IVW_ERROR_IL_CREATE_INTERNAL_IMAGE (104)
An internal image error occurred, because the image is too large to fit in memory
IVW_ERROR_IL_OLD_L.CRARY (105)
The Image Library is not the correct version.
AUTHOR
IvwErrorCallbackStruct was developed by HP.
SEE ALSO
IvwCreateDisplay(3X), IvwSetZoomRegion(3X), IvwGetRegion(3X).
Using the Image Developer’s Kit.
Hewlett-Packard Company — Image Library: February, 1995