JPEG rotation of lengths not divisible by 8 is incorrect
When I try to rotate JPEG with dimensions [8K+7, 8L+5] (for any integers K, L), only the part of the picture of length divisible by 8 is rotated. The rest is left in place - in this example, 7 columns and 5 rows will be left in place without being touched.
Example files are attached.
What I expect EOG to do (either of these works):
- warn the user if rotation is impossible and do nothing
- warn the user about the part left in place and preserve the current behavior
- allow user to trim the picture so that the rotation is correct
- implement correct rotation for images of sizes not divisible by 8