Rectangle.Contains() throws when it should not #2285
-
We are using ImageSharp in our application to allow customers to edit the pictures they're uploading. We make sure that the cropping dimensions of the instructions are not bigger than the image itself:
However, some images still cause ImageSharp to throw this exception: We log the instructions the customer used and they appear to be fine.
Does anyone have an idea, what the issue could be here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Are you measuring before or after rotating? |
Beta Was this translation helpful? Give feedback.
Are you measuring before or after rotating?