Improved image processing in Site Updates
- June 20, 2014, 7:57 p.m.
- |
- Public
Or at least I hope.
I've learned a bit about image formats since I started Prosebox. Apparently there's this thing called EXIF (Exchangeable Image File Format) which wreaks all kinds of havoc on traditional JPG processing. So people uploading files directly from their iPhones or cameras will have these images stored in odd orientations, but with header data describing the correct orientation. Without getting too deep into the weeds, let's just say that if you've ever uploaded a picture and it showed up sideways or upside down, this is what I'm talking about.
Since my image resizing tool didn't seem to take this into account when processing images, I've switched to something which hopefully does. So if you've had this problem in the past, see if it works correctly the next time you change your profile picture.
It also does "smart" image cropping, which means that if you don't upload a perfectly square image, it should no longer have a skewed aspect ratio (though there's no guarantee about what part gets cropped off).
Have a good weekend all!
Loading comments...