Harlequin RIP SDK
jpeg_decode_error Struct Reference

Structure defining a JPEG decoding error detail passed to the error callback jpeg_callbacks::onerror(). More...

#include "jpegapi.h"

Data Fields

size_t size
 Size of this structure. More...
 
int32 code
 Code for the error being reported.
 
uint8 message [256]
 A NUL terminated string providing more detail for an error. Not all errors will provide an accompanying message.
 

Detailed Description

Structure defining a JPEG decoding error detail passed to the error callback jpeg_callbacks::onerror().

The JPEG implementation may report multiple decoding errors before the JPEG API call returns with an error indicator. It is up to the client how it will handle multiple errors from a single JPEG API call.

Field Documentation

◆ size

size_t jpeg_decode_error::size

Size of this structure.

This will be set to indicate which fields are present in this implementation of the JPEG API.


The documentation for this struct was generated from the following file: