lv_snapshot_buf_size_needed() function
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS Get the buffer needed for object snapshot image.
Arguments
obj
The object to generate snapshot.
cf
color format for generated image.
Return value
the buffer size needed in bytes