Brings up the image nicely on the label
Solved
General and Desktop
-
How do I change the input image to better like the one on the right?
Thank you -
-
@Pl45m4 Thank you.
Documentation for Python : https://doc.qt.io/qtforpython-5/PySide2/QtGui/QPixmap.htmlExample of code :
I give this because of the minimum examples on the internetfrom PyQt6.QtCore import Qt ... self.labelCropFace.setPixmap(pixmap3.scaled(self.labelCropFace.size(), Qt.AspectRatioMode.KeepAspectRatio))
For other people who need it, hopefully it helps too
-