f
This commit is contained in:
parent
668958e373
commit
1571b2c08d
1 changed files with 0 additions and 1 deletions
|
@ -198,7 +198,6 @@ proc flipVertical*(image: Image) {.raises: [].} =
|
|||
|
||||
proc subImage*(image: Image, x, y, w, h: int): Image {.raises: [PixieError].} =
|
||||
## Gets a sub image from this image.
|
||||
|
||||
if x < 0 or x + w > image.width:
|
||||
raise newException(
|
||||
PixieError,
|
||||
|
|
Loading…
Reference in a new issue