I have been trying to load an image into QImage. The original image is a "tif", so I converted to a pnm format (supported by QT). I then call up up the following code
Qt Code:
int width = Image.width(); QVariant wid = width debugLineEdit->setText(wid.toString());To copy to clipboard, switch view to plain text mode
The width comes out as 0. So I used the
bool Qimage::load() to verify if the image was loading and it is false. Does anyone have any idea why I wouldn't be able to load a PNM Image. Otherwise, if anyone knows a better way to access the information from a TIF format?
Thank you guys
Bookmarks