4 ms·
This has caused me quite a bit of trouble with my image gallery as well, I've taken to just using exiftool to remove all rotation from my photos, which breaks h
by byuu 7y ago
This has caused me quite a bit of trouble with my image gallery as well, I've taken to just using exiftool to remove all rotation from my photos, which breaks half of them, and then manually hard-rotating them using ImageMagick, which is technically not a lossless operation if I'm understating it correctly.
I really don't understand why it was decided that most photo viewing applications would honor EXIF rotation, but web browsers would not.
- leni536 7y agoUse 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.