Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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 ?
QImageReader.supportedImageFormats()
app = QApplication(sys.argv) # in case qt can`t find image fomat plugins for jpeg app.addLibraryPath(os.path.join(os.environ['QT5DIR'], "plugins"))