Results 1 to 2 of 2

Thread: CImg Template Library and QImage

  1. #1
    Join Date
    Mar 2008
    Location
    Venezuela
    Posts
    34
    Thanks
    4
    Platforms
    MacOS X Unix/X11

    Wink CImg Template Library and QImage

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: CImg Template Library and QImage

    All you need is access to QImage::bits().

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.