image_to_numpy icon indicating copy to clipboard operation
image_to_numpy copied to clipboard

Load an image file into a numpy array with Exif orientation support. Prevents upside-down and sideways images!

Results 2 image_to_numpy issues
Sort by recently updated
recently updated
newest added

PIL.ImageOps.exif_transpose() is raising exception. it is mentioned in #1 . Until it is fixed, the user-defined function is used in exception block. `PIL.ImageOps.exif_transpose()` in `try` block is erasing the orientation...

I'm not a Python developer. So my Python may be just misconfigured. But I read a translation of your article https://habr.com/ru/post/471112/ and decided to check a jpeg from Fujifilm X-T1....