author | Thierry Florac <tflorac@ulthar.net> |
Fri, 20 Mar 2015 23:20:00 +0100 | |
changeset 8 | 5432e1a76c85 |
parent 7 | 89e746950918 |
child 9 | 4c1ae5583036 |
--- a/src/pyams_file/image.py Fri Mar 20 17:31:05 2015 +0100 +++ b/src/pyams_file/image.py Fri Mar 20 23:20:00 2015 +0100 @@ -145,7 +145,7 @@ pano_max_height = width * 9 / 16 if pano_max_height >= height: # image wider - pano_width = height * 9 / 16 + pano_width = height * 16 / 9 geometry.x1 = round((width / 2) - (pano_width / 2)) geometry.y1 = 0 geometry.x2 = round((width / 2) + (pano_width / 2))