Function decodeJpeg

  • Decode a jpeg. See the jpeg-js npm module.

    Parameters

    • buffer: Uint8Array

      The data to decode.

    Returns Image

    The decoded image.