binding bugfix
This commit is contained in:
parent
401c3cfd6b
commit
a22a1559d3
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ proc invert*(target: Image | Mask) {.raises: [].} =
|
||||||
target.data[j] = (255 - target.data[j]).uint8
|
target.data[j] = (255 - target.data[j]).uint8
|
||||||
|
|
||||||
proc blur*(
|
proc blur*(
|
||||||
image: Image, radius: float32, outOfBounds: SomeColor = Color()
|
image: Image, radius: float32, outOfBounds: SomeColor = color(0, 0, 0, 0)
|
||||||
) {.raises: [PixieError].} =
|
) {.raises: [PixieError].} =
|
||||||
## Applies Gaussian blur to the image given a radius.
|
## Applies Gaussian blur to the image given a radius.
|
||||||
let radius = round(radius).int
|
let radius = round(radius).int
|
||||||
|
|
Loading…
Reference in a new issue