Closed tracek closed 1 year ago
When loading an image for painting annotations, Pillow is used to load the image. Trouble is, the Image.open function does not take EXIF information into the consideration, so the width and height are swapped in the end result.
Consider applying:
ImageOps.exif_transpose(image)
Perhaps as an option? I could submit a PR.
Hello!
It may be fine as an option. You can open a PR whenever you want to implement it :)
Hey - and done: https://github.com/Gradiant/pyodi/pull/185
BTW, nice work!
When loading an image for painting annotations, Pillow is used to load the image. Trouble is, the Image.open function does not take EXIF information into the consideration, so the width and height are swapped in the end result.
Consider applying:
Perhaps as an option? I could submit a PR.