[Qt-interest] QImage class....cannot load .sgi files

Aaveg Mittal aaveg.mittal at gmail.com
Mon May 18 12:22:52 CEST 2009


Hello everyone,

I have been trying to open an .sgi image file in QImage ( Qt4 ) class as,

    QImage image("filename.sgi") ;
    if ( image.isNull() )
    {
              PRINT "Cannot load image"
    }
    else
    {
              PRINT "Image Loaded"
              // Rest of the work
    }

It works well if I open an .jpg file or any other format but does not work
with sgi files...any solutions????

Regards,

Aaveg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090518/50cc79bd/attachment.html 


More information about the Qt-interest-old mailing list