decodeRegionRgba8Async method

Future<Uint8List> decodeRegionRgba8Async(
  1. TiffRegion region
)

decodeRegionRgba8, for a page from TiffDecoder.decodeAsync — see decodeRegionAsync. The way to view a crop of a file far larger than memory, e.g. one picked in a browser or served over HTTP.

Implementation

Future<Uint8List> decodeRegionRgba8Async(TiffRegion region) =>
    _whenLoaded(() => _regionRanges(region), () => decodeRegionRgba8(region));