I‘ve use now a Build-In PNG2JPG-Converter (Pillow). It‘s very fast and has a good license.
I‘ll let the Topic open, maybe I got Time to observe the behaviour in some weeks. Now it‘s tracked as „known Issue“
It's my first Post, so I hope I give you all the Informations you need. I am using pyside2 5.13.0 on Python 3.6.5 and install it with pip.
I write a Tool, where I have some QPushButtons. By User-Action, the displayed Icon has to be updated. I do that as followed:
When I'm using a JPG it's fine. But when I'm using a PNG, it didn't display anything. The Pushbutton turns grey and that is all.
Have you a suggestion what I can do?
I have tried the following, without any success:
self.values[c_number][cnt].repaint() self.values[c_number][cnt].setIconSize(QSize(20,20)) self.values[c_number][cnt].setIconSize(QSize(80,80)) self.values[c_number][cnt].update()
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.