-
Shouldn0't it be
"printf("%d", columns);"
instead of
"printf("%d", &columns);" ?
(without the "&")
2009-05-21 10:46:29 UTC in The CImg Library
-
Shouldn0't it be
"printf("%d", columns);"
instead of
"printf("%d", &columns);" ?
(without the "&")
2009-05-21 07:36:50 UTC in The CImg Library
-
A bit more info
I've tried the same code and compilation on a xubuntu 8.10 running on a virtual machine on an XP, and get the same problem: unreadable tiff output files.
The g++ versio returns
$ g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu12' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs...
2009-04-03 16:29:47 UTC in The CImg Library
-
Something to add.
If the compilation is done without the native tiff support (-Dcimg_use_tiff -ltiff) the application works fine.
2009-04-03 10:21:03 UTC in The CImg Library
-
I'm using scientific linux 4.7.
The g++ version is
> g++ -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk...
2009-04-03 10:19:17 UTC in The CImg Library
-
Maybe a static compilation wouldn't need to access imagemagick directly?.
2009-04-03 06:47:53 UTC in The CImg Library
-
Maybe a static compilation wouldn't need to access imagemagick directly?.
2009-04-02 16:58:02 UTC in The CImg Library
-
Hi all
I'm trying to compile a cimg application that supports, among others, native tiff support.
I've already got it with other formats (jpeg and png), but when I try it for tiff the application doesn't work. I do the compilation by the command
g++ -o cimg_ext_filt cimg_ext_filt.cpp -static -Dcimg_display=0 -Dcimg_use_jpeg -ljpeg -Dcimg_use_png -lpng -Dcimg_use_tiff -ltiff -lm -lz...
2009-04-01 14:20:07 UTC in The CImg Library
-
I guess for the first part searching for "crop" in the pdf cimg documentation will be useful.
2009-03-12 08:02:25 UTC in The CImg Library
-
I've been asking in another place about convolution and it seems that the mask I search for is
G = 1/9 . [
-1 -2 -3 -2 -1
-1 -2 -3 -2 -1
0 0 0 0 0
1 2 3 2 1
1 2 3 2 1
];
It's a 5x5 mask because when two 3x3 masks are applied consecutively then the central pixel is modified by its...
2009-03-08 17:49:08 UTC in The CImg Library