@dusrel/image API
    Preparing search index...

    Function decodeHeic

    • Decodes a HEIC/HEIF file to raw RGBA pixels (an ImageData). Native-first by default (ADR-0008): Safari decodes without downloading the WASM at all; every other browser uses the bundled libheif build. Throws a RangeError when the input is not a HEIC file at all.

      Parameters

      • input: Blob | ArrayBuffer | Uint8Array<ArrayBufferLike>
      • options: HeicDecodeOptions = {}

      Returns Promise<ImageData>