decodeHeicDataAsync function

Future<DecodedImage> decodeHeicDataAsync(
  1. Uint8List bytes, {
  2. HeifDecodeOptions? options,
  3. int maxDecodedBytes = defaultMaxDecodedBytes,
  4. int maxIccProfileBytes = defaultMaxIccProfileBytes,
})

Preserves high-precision HEIC samples on a native isolate or browser Worker.

Implementation

Future<DecodedImage> decodeHeicDataAsync(
  Uint8List bytes, {
  HeifDecodeOptions? options,
  int maxDecodedBytes = defaultMaxDecodedBytes,
  int maxIccProfileBytes = defaultMaxIccProfileBytes,
}) => decodeHeifDataAsync(
  bytes,
  options: options,
  maxDecodedBytes: maxDecodedBytes,
  maxIccProfileBytes: maxIccProfileBytes,
);