Convolute a image. This filter needs a fix.

  • Parameters

    • canvas: Canvas

      The Canvas instance

    • weights: readonly number[]

      The weights

    • opaque: boolean = true

      Whether or not pixels should try to be opaque

    Returns Canvas