Function blurImageData

  • Applies blurring to the given image.

    Parameters

    • imageData: ImageDataLike

      The image data to blur.

    • radius: number

      The blur radius (0-254). Automatically clamped to a valid value.

    • alpha: boolean = true

      True (default) to also blur the alpha channel. False to only blur RGB.

    Returns void