Created attachment 154818 [details] Image to reproduce bug SUMMARY Some images are saved incorrectly after being flipped or/and rotated (few pixels at the right/bottom border aren't affected) STEPS TO REPRODUCE 1. Open image from the attachment 2. Flip or rotate it 3. Save resulting image OBSERVED RESULT Few pixel columns/rows at the right/bottom border aren't affected by flip/rotate EXPECTED RESULT Saved image is flipped/rotated properly SOFTWARE/OS VERSIONS Linux: Archlinux 6.1.1-arch1-1 KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.7
*** Bug 469250 has been marked as a duplicate of this bug. ***
This also happens in digiKam 8.1.0
Also this seems to only happen to some particular photos. I guess it's related to EXIF orientation or some other metadata, as photos shot with one device may encounter this bug, but those shot with another device won't.
@Hieu Van, this bug report is about the Gwenview program, since you mention digiKam, I reply. In digiKam it is quite unlikely that the bug will still occur. The remaining edge lines occur with lossless JPEG rotation if the edge length of the images is not divisible by 8. We have set the appropriate flags in digiKam so that libjpeg then does not perform any rotation. If activated in the options, a loss rotation is carried out. If you have an example image that reproduces the problem, please provide it. Maik
*** Bug 489733 has been marked as a duplicate of this bug. ***