Closed sti1l-0 closed 3 months ago
Does the issue occur if you check the "Keep metadata" checkbox in the compression options?
When compressing to webp is selected, the image is still incorrectly rotated. Images are not rotated unexpectedly when trying to compress to jpg or png.
Software version
The version of Caesium Image Compressor 2.5.1
Operating System information
OS: Windows Version 10
Options are as follows:
@Csrayz The original image is WebP or any other format?
@Csrayz原图是WebP还是其他格式?
The original image is a jpg, and when I tested it, I found that only certain images produced these kinds of strange phenomena. The operation recording and source files are attached below.
This should not happen when the output format is the same as the original file, but can occur if, for example, the original is JPG and the output is WebP. It's related to #196 because Caesium cannot keep the metadata of the original file if is compressing to another format. I'm working on a solution for this.
Describe the bug I input a image that resolution is 4024*6048, as you can see that is a vertical image.
Whatever "resize to fit" option I use, the output image is always in horizontal resolution like 6048*4024.
Software version The version of Caesium Image Compressor 2.3.1
Operating System information
To Reproduce Steps to reproduce the behavior:
Expected behavior The image keep its origin direction.
Screenshots If applicable, add screenshots to help explain your problem.![image](https://user-images.githubusercontent.com/37724877/219845921-4f334888-b6c3-425b-b76c-225790731628.png)
Application Log
Additional context