This commit is contained in:
Ryan Oldenburg 2021-10-04 21:20:53 -05:00
parent 668958e373
commit 1571b2c08d

View file

@ -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,