Resizing images in Rust, now with EXIF orientation support
Resizing an image is one of those programming tasks that seems simple, but has some rough edges. One common mistake is forgetting to handle the EXIF orientation, which can make resized images look very different from the original.Last year I wrote a create_thumbnail tool to resize images, and today I released a small update. Now it’s aware of EXIF orientation, and it no longer mangles these images. This is possible thanks to a new version of the Rust image crate, which just improved its EXIF sup...
Read more at alexwlchan.net