Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rotate image pyqt5

pixmap = pixmap.scaled(1100, 1800, QtCore.Qt.KeepAspectRatio)
pixmap = pixmap.transformed(QtGui.QTransform().rotate(angle))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rotate #image
ADD COMMENT
Topic
Name
9+8 =