David Tschumperlé
David Tschumperlé
That's probably because by default, the verbosity level of the G'MIC interpreter for Python is set to 0. Maybe: ~~~ gmic.run("verbose 1 help blur") ~~~ ?
`img.RGBtoXYZ()` assumes your instance is an image with 3 channels, each channel representing the R,G,B components of the image. With CImg, the corresponding buffer is stored in non-interleaved format, so...
Thanks for the kind words. If you need a function to deinterlace a color buffer from RGBRGBRGB... to RRRRR...GGGG...BBBB (and vice-versa), then you may have a look to `CImg::permute_axes()`.
Assuming you have, e.g. a `unsigned char *buffer` encoding a RGB image with size WxH, then ~~~~ CImg img = CImg(buffer,3,W,H).permute_axes("yzcx"); ~~~~ should do the job.
According to https://www.awaresystems.be/imaging/tiff/tifftags/compression.html, ZIP compression is not supported in TIFF format.
You are right. This commit should fix this: https://github.com/dtschump/CImg/commit/c56548b31041d352d41fc2ed6f97b8546e5913e3 Let me know if that helps !
Could you please copy/paste the line in CImg.h that trigger this warning ? Is it ~~~ const ulongT cimg_iobuffer = (ulongT)24*1024*1024; ~~~ ? If so, on which kind of architecture...
Thanks. I'll check that and try to remove that warning.
Just a question : have you tried with the very latest CImg file, available at https://raw.githubusercontent.com/dtschump/CImg/develop/CImg.h ? It may have been already corrected (it seems I had something similar a...
OK, thanks. I'm compiling it right now with Visual Studio 2019 (but from the command line), and it seems I don't get those errors. There is maybe a specific flag...