PDA

View Full Version : CImg Template Library and QImage



danielperaza
13th May 2008, 23:56
Hi there!, I am working in an image processing software for computational physics. I need extended image capabilities that QImage can't provide. On the other hand, the CImg Template library at cimg.sourceforge.net provide several Image Processing Algorithms that could save me time and work.I would like to find a way to write a child class for QImage, but that would use CImg class functionality, avoiding the overhead of converting one object to another

I have taken a little look at the qimage.h file under my Qt 4 include directory and there seems to be a QImageData struct elsewhere, which it, I think, may be useful in some way.

There seems to be not enough information on Qt internals to go on my way alone, so I post to this forum hoping that someone could give me an idea.

Thanks.

wysota
14th May 2008, 07:16
All you need is access to QImage::bits().