There is another issue about loseless jpeg: when I'm doing it, xnview tells me it gonna 'remove unused pixels) if its dimension is not a multiple of 8 pixels. But why to ask if the image IS a multiple of 8?
Thanks for the prog between

Moderators: helmut, XnTriq, xnview
Code: Select all
If image is jpeg then
Evaluate jpeg lossless rotation
If jpeg lossless rotation causes lost pixels then
Explain and prompt user to choose lossless or lossy, etc.
Perform user choice
Else
Perform jpeg lossless rotation
Else
Perform "standard" rotation