-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STBI Exception #5
Comments
I usually get that error from STBI when I supply the wrong path. Are you sure you can open the file?
Are you sure its a png file? STBI can't open some png files what are odd like monochrome ... Does it work with png files in the test folder? |
The same exception accurred on Windows 10 (64): Tested with fillCirle.png in the test folder and made sure the path was correct by: May be a link issue: https://gitlab.com/define-private-public/stb_image-Nim/issues/8 |
This issue can be solved by adding
As jangko said on Nim forum:
|
I switched to using https://github.com/jangko/nimPNG which has no C code. |
The nimPNG based version of flippy works for me and now it supports Unicode file names on Windows(Using MinGW) |
When trying to use fllippy to minify an image I keep getting an error on
How did I call?
var a = reduceImage("C:\\Nim\\NimExamples\\MyRecipes\\a.png", "C:\\Nim\\NimExamples\\MyRecipes\\b.png", 3)
against proc
Is it my own stupidity, or is it a real issue? I am on windows as you probably guessed.
The text was updated successfully, but these errors were encountered: