PYQT and Displaying JPG
-
wrote on 11 Jul 2015, 21:37 last edited by
I'm trying to display an image from the web and I can do it ok with png and bmp files but I can't display a jpg file. Can someone point me in the right direction to do this using PYQT.
-
Hi,
Jpeg should be supported a supported format. What does
QImageReader.supportedImageFormats()
return ? -
wrote on 27 Dec 2017, 06:50 last edited by
app = QApplication(sys.argv) # in case qt can`t find image fomat plugins for jpeg app.addLibraryPath(os.path.join(os.environ['QT5DIR'], "plugins"))