Browse Source

Make sure that image orientation is correct before creating thumbnail

pull/415/head
Simon Conseil 5 years ago
parent
commit
a77b2e3f2e
  1. 1
      sigal/image.py

1
sigal/image.py

@ -154,6 +154,7 @@ def generate_thumbnail(source, outname, box, fit=True, options=None,
logger = logging.getLogger(__name__)
img = _read_image(source)
img = Transpose().process(img)
original_format = img.format
if fit:

Loading…
Cancel
Save