binding bugfix

This commit is contained in:
Ryan Oldenburg 2021-09-01 16:49:04 -05:00
parent 401c3cfd6b
commit a22a1559d3

View file

@ -450,7 +450,7 @@ proc invert*(target: Image | Mask) {.raises: [].} =
target.data[j] = (255 - target.data[j]).uint8
proc blur*(
image: Image, radius: float32, outOfBounds: SomeColor = Color()
image: Image, radius: float32, outOfBounds: SomeColor = color(0, 0, 0, 0)
) {.raises: [PixieError].} =
## Applies Gaussian blur to the image given a radius.
let radius = round(radius).int