Function turbojpeg_sys::tj3Init

source ·
pub unsafe extern "C" fn tj3Init(initType: c_int) -> tjhandle
Expand description

Create a new TurboJPEG instance.

@param initType one of the @ref TJINIT “initialization options”

@return a handle to the newly-created instance, or NULL if an error occurred (see #tj3GetErrorStr().)