News for hackers. Stuff that matters.
Re:A dumb reason computer vision apps aren’t working: Exif O... by byuu on Thursday October 10, 2019 @12:21AM (#21210851)
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.

Re:A dumb reason computer vision apps aren’t working: Exif O... by leni536 on Thursday October 10, 2019 @12:28AM (#21210889)
Use jpegtran, it can rotate jpg images losslessly.

https://linux.die.net/man/1/jpegtran

Re:A dumb reason computer vision apps aren’t working: Exif O... by mceachen on Thursday October 10, 2019 @01:33AM (#21211244)
Make sure you rtfm carefully.

Many years ago I accidentally deleted all the metadata from many images that needed rotating.

Re:A dumb reason computer vision apps aren’t working: Exif O... by acqq on Thursday October 10, 2019 @02:49AM (#21211649)
> -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.