Closed tracek closed 1 year ago
We have moved ahead of the lint workflow. Can you please correct this?
In our contribution guide it says how, the pre-commit
itself should update the file to match the style of code we use.
Thank you very much!
Fixed now, thanks! And sorry, I haven't noticed the guidelines before.
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 might end up swapped in the result.
The PR adds an option to use EXIF orientation information to transpose the image if necessary.