Cant get a crop of image #1358
Unanswered
AndreyMaslow
asked this question in
Q&A
Replies: 1 comment 2 replies
-
what are width and height for this image? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I'm trying to get a crop of image using
stbir_resize_region
and get the assert :stb_testing: /home/andrey/CLionProjects/stb_testing/3dparty/stb/stb_image_resize.h:1140: stbir__normalize_downsample_coefficients: Assertion total > 0.9f' failed.
What i'm doing wrong or there is another method for image cropping? Please Help!
The full source :
`
Beta Was this translation helpful? Give feedback.
All reactions