[Qt-interest] Saving problem
Hector Gordon
hectoraigordon at googlemail.com
Sat Dec 27 19:08:48 CET 2008
Hi All,
When attempting to save a QImage I am getting a negative result. My code
successfully creates a QImage, draws on it and shows it, in reduced
resolution, on a widget. However when I introduce the following code to save
the image to a file nothing happens:-
image.save("/home/ian/megaimage.jpg","JPG",100);
The code compiles with no errors or warnings but 'silently' fails and
nothing is saved either to a new file or an existing one. I have perused all
relevant documentation and tried many variations in the code all to no
avail.
I am using qt4.4 under kdevelop and Suse 11.0 and would appreciate
any pointers as to what I may be doing wrong.
All the best Hector Gordon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081227/a87fabd5/attachment.html
More information about the Qt-interest-old
mailing list