lv_img_decoder_dsc_t is only used within i2c_oled sample.
 
Symbols
loading...
Files
loading...
SummarySyntaxReferences

Fields

Field
Declared as
Description
Info about the opened image: color format, size, etc. MUST be set in `open` function.
const uint8_t *
Pointer to a buffer where the image's data (pixels) are stored in a decoded, plain format. MUST be set in `open` function.
uint32_t
How much time did it take to open the image. [ms] If not set `lv_img_cache` will measure and set the time to open.
const char *
A text to display instead of the image when the image can't be opened. Can be set in `open` function or set NULL.
void *
Store any custom data here is required.
The decoder which was able to open the image source.
const void *
The image source. A file path like "S:my_img.png" or pointer to an `lv_img_dsc_t` variable.
Color to draw the image. USed when the image has alpha channel only.
int32_t
Frame of the image, using with animated images.
Type of the source: file or variable. Can be set in `open` function if required.

References

from examples