image_data property
ImageLayer-specific fields (meaningful only when kind == LC_LAYER_KIND_IMAGE). Mirrors lib/src/model/layers/image_layer.dart.
image_data points to image_data_size bytes of encoded image data
(PNG/JPEG/BMP/QOI - detected automatically by Blend2D). Unlike text
and font_family above, this isn't embedded inline: images range from
a few KB to several MB, far past a fixed-size buffer. The pointer is
owned by the caller for the duration of a single lc_render_scene call
only; the backend must not retain it afterward.
Implementation
external ffi.Pointer<ffi.Uint8> image_data;