From 31985e7160f53a10f4ff8a7a710083d043d4620d Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 8 Jun 2015 23:45:55 -0400 Subject: [PATCH] Use highest quality interpolation and expand image so as not to crop borders --- mayan/apps/converter/classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/converter/classes.py b/mayan/apps/converter/classes.py index 4a3cf10717..54f759c78c 100644 --- a/mayan/apps/converter/classes.py +++ b/mayan/apps/converter/classes.py @@ -247,7 +247,7 @@ class TransformationRotate(BaseTransformation): def execute_on(self, *args, **kwargs): super(TransformationRotate, self).execute_on(*args, **kwargs) - return self.image.rotate(360 - self.degrees) + return self.image.rotate(360 - self.degrees, resample=Image.BICUBIC, expand=True) class TransformationZoom(BaseTransformation):