From 1571b2c08d840085220f854247c9123b918eda5e Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Mon, 4 Oct 2021 21:20:53 -0500 Subject: [PATCH] f --- src/pixie/images.nim | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pixie/images.nim b/src/pixie/images.nim index e263dba..67c807b 100644 --- a/src/pixie/images.nim +++ b/src/pixie/images.nim @@ -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,