Community

Posted 2M ago by @smushface

Fix for uploads losing EXIF orientation

Given that the image handling in this app doesn’t feel especially sophisticated (resize after upload is extremely lossy, don’t seem to be generating variants that fit in constraints of different places in the product where images are rendered, etc) and IIR your job listings list python as your development language, I’d hazard a guess that you are likely just resizing the image with PIL (which does not respect EXIF orientation) instead of using a mature image processing library (e.g., libvips pyvips).

TO FIX THIS, you need to pass the resized image to ImageOps.exif_transpose to restore it to the correct camera orientation.
https://pillow.readthedocs.io/en/stable/reference/ImageOps.html#PIL.ImageOps.exif_transpose

#GregFeedback
@Aikalovesphilos 👆
What she said.... @smushface
@smushface did anyone from the Greg team ever respond to this?
@stephonicle nope, and I just opened the app for the first time in a week and found 2 new easily discoverable bugs in 5 mins 🙃