decodeHeicData function

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

Decodes HEIC samples while preserving high-bit-depth input and ICC profiles.

Implementation

DecodedImage decodeHeicData(
  Uint8List bytes, {
  HeifDecodeOptions? options,
  int maxDecodedBytes = defaultMaxDecodedBytes,
  int maxIccProfileBytes = defaultMaxIccProfileBytes,
}) => decodeHeifData(
  bytes,
  options: options,
  maxDecodedBytes: maxDecodedBytes,
  maxIccProfileBytes: maxIccProfileBytes,
);