JasPer  2.0.33
Initialization and Clean Up

Initialization and Clean Up. More...

Functions

JAS_DLLEXPORT int jas_init (void)
 Initialize the JasPer library. More...
 
JAS_DLLEXPORT void jas_cleanup (void)
 Perform any clean up for the JasPer library. More...
 

Detailed Description

Initialization and Clean Up.

Function Documentation

◆ jas_cleanup()

JAS_DLLEXPORT void jas_cleanup ( void  )

Perform any clean up for the JasPer library.

This function performs any clean up for the JasPer library.

◆ jas_init()

JAS_DLLEXPORT int jas_init ( void  )

Initialize the JasPer library.

This function must be called before any other code in the JasPer library is invoked. This function registers the codecs that are enabled by default.

Returns
If successful, zero is returned; otherwise, a nonzero value is returned.