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