lossy-compression

Python PIL Rotate (Image Result Quality)

Python PIL Rotate (Image Result Quality) Question: I’m using Python 3.11 with Pillow 9.3.0 and OpenCV 4.6.0.66. I want to make sure if I doing 90 degree rotate with PIL, the quality of image is same. ret = False frame = None camera = cv2.VideoCapture(0, cv2.CAP_DSHOW) if camera.isOpened(): camera.set(cv2.CAP_PROP_FPS, 30.0) camera.set(cv2.CAP_PROP_FOURCC, cv2.VideoWriter.fourcc(‘m’, ‘j’, ‘p’, ‘g’)) …

Total answers: 1