Closed playmobil42 closed 4 years ago
Previously only values of 6 & 8 were handled.
Testing: tested manually with images from https://github.com/recurser/exif-orientation-examples.
This CL is not perfect, as CSS transforms also apply to the containing div's dimensions esp. flipping width/height on rotation, but it's better than the previous state.
This is a step in the right direction to address #46
Thanks @playmobil42! This improves things for me.
Previously only values of 6 & 8 were handled.
Testing: tested manually with images from https://github.com/recurser/exif-orientation-examples.
This CL is not perfect, as CSS transforms also apply to the containing div's dimensions esp. flipping width/height on rotation, but it's better than the previous state.