pytivo icon indicating copy to clipboard operation
pytivo copied to clipboard

Cropped photos when rotating using the Photo Plugin

Open Someone10000 opened this issue 5 years ago • 0 comments

When using the Photo plugin to view a rotated photo some get cropped if the rotation is not the same size as the original photo. An easy fix to this problem is to change the following code located in the photo.py file:

pic = pic.rotate(rot)

To:

pic = pic.rotate(rot, expand=1)

Someone10000 avatar Apr 12 '20 22:04 Someone10000