getOriginalImage method

Future<Image> getOriginalImage({
  1. required ImageInfos imageInfos,
})

Retrieves the original image based on the provided image information.

This method asynchronously fetches the original image without using the thumbnail size. It calls the _getRenderedImage method with the useThumbnailSize parameter set to false.

Implementation

Future<ui.Image> getOriginalImage({required ImageInfos imageInfos}) async {
  return (await _getRenderedImage(
    imageInfos: imageInfos,
    useThumbnailSize: false,
  ))!;
}