You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cimg_library::CImg<unsignedchar> img("test.png");
invert(img);
img.save("test.png"); //Error with saving
invert is a user-defined function.
Error:
[CImg] *** CImgIOException *** cimg::fopen(): Failed to open file 'test.png' with mode 'wb'.
terminate called after throwing an instance of 'cimg_library::CImgIOException'
what(): cimg::fopen(): Failed to open file 'test.png' with mode 'wb'.
The text was updated successfully, but these errors were encountered:
Hello. My code is extremly simple:
invert
is a user-defined function.Error:
The text was updated successfully, but these errors were encountered: