Closed StefanOltmann closed 8 months ago
Would be nice to rotate the thumbnail image according to the image orientation, but without changing the actual image bytes.
This will do the transformation in CSS: https://github.com/StefanOltmann/exif-viewer/blob/d40af2e6c292627fb8c62c6aa73d6cd6be306615/app/src/wasmJsMain/kotlin/Main.kt#L83-L99
The problem is that after that the image size will not be correct.
I did not find a solution for this so far.
Fixed by #2 as it seems to be the only solution to this.
Would be nice to rotate the thumbnail image according to the image orientation, but without changing the actual image bytes.
This will do the transformation in CSS: https://github.com/StefanOltmann/exif-viewer/blob/d40af2e6c292627fb8c62c6aa73d6cd6be306615/app/src/wasmJsMain/kotlin/Main.kt#L83-L99
The problem is that after that the image size will not be correct.
I did not find a solution for this so far.