decodeHeicDataAsync function
Future<DecodedImage>
decodeHeicDataAsync(
- Uint8List bytes, {
- HeifDecodeOptions? options,
- int maxDecodedBytes = defaultMaxDecodedBytes,
- 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,
);