GreycLab/CImg

Can't load JPG

Closed this issue · 1 comments

KirbX commented

Hello!
I know it's a recurent issue, but I didn't find the way to solve this one.
So I have my code :
int main(int argc, char** argv){ cimg_library::CImg<unsigned char> ImgIn ("1.jpg") }
And I have the error "failed to open 1.jpg". I have ImageMagick, I first downloaded it to E:\ so I used cimg::imagemagick_path("E:\\ImageMagick-6.9.3-Q16\\convert.exe");
But it didn't work, so I had unistall it and reinstall in "C:\Program\ImageMagick".
Nothing more happened.
Each tim I tried to use absolute path instead of relative, but it never succeed. Do you have any suggestions for me?

Thanks a lot!

KirbX commented

Well, it seems that with only one night of doing absolutely nothing, it works perfectly! 👍