ImageFormat method

void ImageFormat(
  1. Image image,
  2. PixelFormat newFormat
)

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,
  ),
);