Structure defining JPEG decoding warning messages passed to the warnings callback jpeg_callbacks::onwarning(). More...
#include "jpegapi.h"
Data Fields | |
| size_t | size |
| Size of this structure. More... | |
| int32 | code |
| Code for the warning being reported. | |
| uint8 | message [256] |
| A NUL terminated string providing a warning message produced during JPEG image data decoding. | |
Structure defining JPEG decoding warning messages passed to the warnings callback jpeg_callbacks::onwarning().
The JPEG implementation may report a warning message during decoding. This will happen when an inconsistency in the image data is detected but the decoder can continue processing. The output may be different to that expected when a warning is reported.
| size_t jpeg_decode_warning::size |
Size of this structure.
This will be set to indicate which fields are present in this implementation of the JPEG API.