-
I agree: it doesn't make sense to multiply by 255 nor 255.f, you should leave the values how they are in the file, and the user can convert to a 0-255 range if they want to later. Otherwise img.load(), img.save(), will result in a change to the file, which isn't expected.
2009-11-14 19:13:41 UTC by meekohi
-
Or at least make the multiply with 255.0f, not just 255, An integrer multiplier could lead to some qunatization effects on some compilers as i understand it.
Actually i think this is actually a bug, and should be fixed!
//Joel.
2009-11-14 17:19:50 UTC by joekr552
-
It is not clear on which system you are working.
For Unix'es and Mac'es you should ensure to have either "convert" or "gm" in your path. Under Windows you should avoid pathes with spaces, like usual "Documents and Settings" and have ImageMagick or GraphicsMagick installed.
Regards
Karsten.
2009-11-14 09:50:27 UTC by karo11
-
ronounours committed patchset 1331 of module CImg to the The CImg Library CVS repository, changing 2 files.
2009-11-14 09:17:28 UTC by ronounours
-
Hi all,
I am a beginner of CImg and c++. I am trying to do the tutorial at http://cimg.sourceforge.net/reference/group__cimg__tutorial.html but there is a small problem. It does not work when format of the file is jpeg. I change format of the file as bmp and it works. As far as I understood it just works with bmp files. When format of the file is jpeg I get an error message which says that...
2009-11-14 05:59:52 UTC by esesili24
-
Hi,
I see that CImg have implemented the load_exr function for reading open_exr images with the functionality of multiplying each RGBA value with 255!
Why this explicit multiplication? I think it is wrong to multiply a floating (half) point valued image to a worse precision range? (higher values -> less precision).
Can someone motivate this multiplication? Or should it be changed in a...
2009-11-13 16:49:09 UTC by joekr552
-
I have finally managed to build gmic_gimp plugin on MacOSX SL for Gimp 2.6 from the examples of CImg CVS Version 1.3.3.0.
If there is interest for the plugin just mail me
Karsten.
2009-11-12 09:44:57 UTC by karo11
-
Hi CImg teams,
The provided package : http://cimg.sourceforge.net/cimg-dev.deb is missing.
That's a pity, because it is a good way to obtain it.
Thanks.
2009-11-11 20:43:28 UTC by boutor
-
I have some problem to compile gmic.cpp
Since some time it is impossible to do it with optimization -O3. (hours...memory paging)
My input:
** Compiling 'gmic (1.32)' with 'gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)'
g++ -o gmic_bool.o -c gmic.cpp -I. -Dcimg_build -Dgmic_separate_compilation -Dgmic_bool -I.. -Wall -W -I/opt/local/include -ansi -pedantic -O3 -fno-tree-pre...
2009-11-10 11:00:04 UTC by karo11
-
This code compiles. The image is displayed.
But as soon as one types 'q', the program freezes.
Please help identify the problem so the ubuntu package can be repaired.
//******************************************************************************
/// @file CImgFails.cpp
/// @date 20091108...
2009-11-09 07:19:24 UTC by iapx86