| J2KERR_SUCCESS |
This code is returned if no error has happened. |
| J2KERR_NEED_MMX |
CPU must support MMX. |
| J2KERR_NOT_ENOUGH_MEMORY |
Memory allocation failed. |
| J2KERR_CORRUPTED_DATA |
J2K image file is corrupted or has unsupported format. |
| J2KERR_PIPE_FAILURE |
Reading or seeking operation failed. |
| J2KERR_INVALID_ARGUMENT |
Invalid argument passed to the function. |
| J2KERR_CANCELED |
Operation has been canceled by user. |
| J2KERR_CANT_OPEN_FILE |
Cannot open the J2K image file. |
| J2KERR_OPTION_UNRECOGNIZED |
Failed to recognize one of the options passed to the decode function. |
| J2KERR_NO_SUCH_TILE |
The specified tile doesn't exist in this image. |
| J2KERR_NO_SUCH_RESOLUTION |
The requested resolution level is not available in this image. |
| J2KERR_BPP_TOO_SMALL |
The BPP value specified in the options string is too small. |
| J2KERR_BUFFER_TOO_SMALL |
The specified buffer size is too small to hold the decompressed image. |
| J2KERR_NOT_PART1_FORMAT |
J2K image file is not JPEG2000 Part 1 compliant. |
| J2KERR_IMAGE_IS_TOO_LARGE |
The width or height of the image is greater than 65535. |
| J2KERR_TOO_MANY_RES_LEVEL |
Image has too many resolution levels. |
| J2KERR_TOO_LARGE_CODEBLOCKS |
Code block width is greater than 128 or height is greater than 64. |
| J2KERR_NO_LAZINESS |
Arithmetic bypass mode is not supported. |
| J2KERR_NO_VCAUSAL |
Vertical stripe causal context formation is not supported. |
| J2KERR_TOO_MANY_COMPONENTS |
Image has more than 4 components. |
| J2KERR_BAD_PRECISION |
Image has component precision that is not supported. |
| J2KERR_ONLY_UNSIG_COMPONENTS |
Signed components are not supported. |
| J2KERR_DOWNSAMPLED_COMPONENTS |
Image has horizontally down-sampled components with the step > 2 or the component #0 is down-sampled. |
| J2KERR_ROI_NOT_SUPPORTED |
ROI is not supported. |
| J2KERR_PROGR_CHANGE_NOT_SUP |
Progression change is not supported. |
| J2KERR_PACKET_HDRS_NOT_SUP |
Packed packet headers are not supported. |
| J2KERR_64BIT_BOXES_NOT_SUP |
This JP2 file is either too big or corrupted. |
| J2KERR_INTERNAL_ERROR |
This actually should never happen :-) . Please, notify us if you have nevertheless received this code. |