[PyQt] Qpixmap.save() error

somayeh khademi khademi.somayeh63 at gmail.com
Sat Oct 20 16:33:35 BST 2007


I want save my image from file dialogBox I write the following code but I
have following error:

my erroe :

        "QImageIO::write: No such image format handler: JPG"

my code :

      fileName = qt.QFileDialog.getSaveFileName(


                             "Images (*.png *.xpm *.jpg)",


                             "save file dialog"

                              "Choose a filename to save under" )

       if not fileName.isEmpty():


why I have this error?I have this error with another image format!

please help me about this error.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20071020/83a3382c/attachment.html

More information about the PyQt mailing list