Function transform

  • Transforms an image using a matrix.

    Parameters

    • image: Image

      Original image.

    • transformMatrix: number[][]

      2×3 transform matrix.

    • options: TransformOptions = {}

      Transform options.

    Returns Image

    The new image.