changeset 106 | db778bfa5f17 |
parent 104 | 49e132e15bbc |
child 117 | 2d6c635c323f |
--- a/src/pyams_file/interfaces/__init__.py Sat Jun 23 13:02:47 2018 +0200 +++ b/src/pyams_file/interfaces/__init__.py Wed Jun 27 12:19:42 2018 +0200 @@ -84,6 +84,9 @@ def crop(self, x1, y1, x2, y2): """Crop image to given coordinates""" + def rotate(self, angle=-90): + """Rotate image, default to right""" + class ISVGImage(IBaseImage): """SVG file interface"""