TurboJPEG: Improve error handling
- Provide a new C API function and TJException method that allows calling programs to query the severity of a compression/decompression/ transform error. - Provide a new flag that instructs the library to immediately stop compressing/decompressing/transforming if a warning is encountered. Fixes #151
This commit is contained in:
@@ -94,5 +94,6 @@ TURBOJPEG_1.4
|
||||
TURBOJPEG_1.6
|
||||
{
|
||||
global:
|
||||
tjGetErrorCode;
|
||||
tjGetErrorStr2;
|
||||
} TURBOJPEG_1.4;
|
||||
|
||||
Reference in New Issue
Block a user