J2K-Codec ™

News
Overview
Download
Order
F.A.Q.
More info
Support
Links

Welcome
QuickStart

ActiveX Control

C++ Wrapper
J2K_Image
open
easyDecode
selectTiles
getMetaData
decode
close
J2K_Frames
open
getFrames
getFrame
operators
close

API Reference
General
getVersion
getLastError
getErrorStr
getLastErrorStr
Unlock
Open / Close
Open
Close
Info
GetInfo
GetInfoEx
GetResolutions
GetResDimensions
GetMetaData
Decoding
EasyDecode
SelectTiles
Decode
Cancel
Debug
StartLogging
StopLogging


J2K_getErrorStr


Use this function to get textual description of an error by the error code.

const char* J2K_getErrorStr(int errCode);


Return value

Returns the textual description of an error, by the error code obtained from J2K_getLastError().

If the errCode is < 0 or > Max number of errors, the "<unknown>" string is returned.

Example

int j2k_errcode = J2K_getLastError();

printf("\n J2K-Codec error: %s.", J2K_getErrorStr(j2k_errcode));

See also

J2K_getLastError()

J2K_getLastErrorStr()

List of error codes
2004-2008 © Alex Saveliev