fromLuminance static method
Wraps the Y plane of a YUV420/NV21 frame without copying when possible.
Implementation
static UGrayImage fromLuminance(Uint8List plane, int width, int height, {int rowStride = 0}) => UGrayImage(plane, width, height, rowStride: rowStride);