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.
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.