Hi,
Hopefully I’m in the right forum
I’ve got a bit of a weird issue using jpegtran to rotate images (as I want to try and do it as loss-less as possible);
jpegtran -rotate 90 $path_full > $path_full.tmp
I then move the file back (from the .tmp), once its successfully rotated.
This is how the image should look:
So, as you can imagine - doing a 90 degree rotation, one would expect the same image - but at a 90 degree angle. This kinda happens, but look at the result:
Notice on the right hand side, part of the bottom of the image has magically appeared there!
Another example - although not quite as obvious, you can still see its broken:
Turns into:
Has anyone got any ideas? I know you can rotate in imagemagick, but I’ve heard its lossy? Amazes me that you can’t do a simple rotate (not like its trying to rotate by 5 degrees, or something)
TIA!
Andy