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_Cancel


This function can be used to abort decoding.

void J2K_Cancel(void *image);



Notes

1. You need to call this function from the other thread, since J2K_Decode() blocks the execution of the current thread.

2. If J2K_Cancel() is used, then J2K_Decode() will return with the J2KERR_CANCELED error code.
2004-2008 © Alex Saveliev