Replies: 1 comment
-
Calling OriginalImage.Repage() after cropping fixed the issue, I am not sure what it does, but it worked. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, It's me again, sorry to bother you again, but I am working on a project, and your nuget is at the core of it, so I am dealing with problems as they come up.
This time, the issue is with cropping.
The code is as follows:
And the issue is that, when I crop for the first time let's say the image is 720x900, and I crop 20 pixels and it becomes 700x900 (this is okay), but when I crop it for the second time even if I set the x and y to 0 and width and height to 700x900, it still crops 20 and becomes 680 (geometry also is created with 700x900), but after the OriginalImage.Crop it becomes smaller by 20, and every time I do it even if I send the entire width and height it keeps making it smaller by 20 every time. I wonder is there something I am missing ? Or is it a bug ?
Beta Was this translation helpful? Give feedback.
All reactions