32 ms·
Use jpegtran, it can rotate jpg images losslessly. https://linux.die.net/man/1/jpegtran https://linux.die.net/man/1/jpegtran
by leni536 7y ago
Use jpegtran, it can rotate jpg images losslessly.
https://linux.die.net/man/1/jpegtran https://linux.die.net/man/1/jpegtran
- mceachen 7y agoMake sure you rtfm carefully. Many years ago I accidentally deleted all the metadata from many images that needed rotating.
- acqq 7y ago> -copy comments > Copy only comment markers. This setting copies comments from the source file but discards any other data that is inessential for image display. > The default behavior is -copy comments. Argh! Thanks! So also my "lossless" transformations .. weren't.