TJFLAG_NOREALLOC

Disable buffer (re)allocation. If passed to #tjCompress2() or #tjTransform(), this flag will cause those functions to generate an error if the JPEG image buffer is invalid or too small rather than attempting to allocate or reallocate that buffer. This reproduces the behavior of earlier versions of TurboJPEG.

enum TJFLAG_NOREALLOC = 1024;

Meta