ImageFormat method
Convert image data to desired format
Implementation
void ImageFormat(
Image image,
PixelFormat newFormat,
) => run(
() => _debugLabels.ImageFormat(image, newFormat),
() => _flat.ImageFormat(
Image$.Ref1(image),
newFormat.value,
),
);