-
Hello,
I've been trying to run this programm :
#include "CImg.h"
using namespace cimg_library;
int main(int argc, char* argv[]){
char* filePath = argv[1];
CImg<float> img(filePath);
img.display();
return 0;
}
I compile it under minGW by writing :
g++ testGraphicsMagick.cpp -lgdi32 -o progRun.exe
It makes no error.
I can run progRun lena.pgm, but when...
2009-07-08 16:56:46 UTC in The CImg Library
-
I've first copied the file of ImageMagick in Windows/System32, but it doesn't worked.
So I've canceled this, and I've pasted them directly in my folder, but it didn't change anything.
I think I've tried some other options, but it didn't worked neither...
I just want to know which version are compatible, so that I can work seriously a little...
2009-07-07 22:27:24 UTC in The CImg Library
-
Hello,
I'm trying to use Cimg for some jpeg Images, and the fact is that I've no compilation problem, but he can't open any jpeg.
As I execute it, I've got this message :
JPEG parameter struct mismatch: library thinks size is 464, caller expects 432
It seems that it is due to some version of some programm that doesn't match.
But I can't figure out what to do...
Could you tell me what...
2009-07-07 19:45:31 UTC in The CImg Library