@dusrel/image API
    Preparing search index...

    Function decode

    • Decodes JPEG bytes into raw RGBA pixels (an ImageData, alpha = 255).

      Parameters

      • data: ArrayBuffer | Uint8Array<ArrayBufferLike>

      Returns Promise<ImageData>