newInstanceFromImage static method
@brief Creates decoder from @see Image "Image" without copying raw bytes again. @param data image instance (e.g. from SDK pipeline); must remain valid while decoder is used @return decoder instance or null on error
Dart code snippet: @snippet bitmap_region_decoder_example.dart dart_BitmapRegionDecoder_newInstanceFromImage
Implementation
static BitmapRegionDecoder newInstanceFromImage(Image data) => $prototype.newInstanceFromImage(data);