Function encodeJpeg

  • Creates a JPEG buffer from an image.

    Parameters

    Returns Uint8Array

    The buffer.