[Qt-interest] QImage fails to save without any error message

Daniel Franke franke.daniel at gmail.com
Thu Oct 29 15:16:09 CET 2009


On Thursday 29 October 2009 15:03:51 Matthias Pospiech wrote:
>         saveimage.save(imagesavename,"PNG");

As for the why, I have no idea, but whether it's saved or not can be checked 
as save() returns a boolean:

"bool QImage::save(fileName, format, quality);
Returns true if the image was successfully saved; otherwise returns false."

Regards

	Daniel



More information about the Qt-interest-old mailing list