Fix orientation of images in gallery3 for ipad

From sheep
Revision as of 20:58, 14 September 2021 by Martin (talk | contribs) (Created page with "Put the following in the file ~/exivcmd set Exif.Image.Orientation 1 set Exif.Thumbnail.Orientation 1 Then run the command find /var/gallery3/g3data/ -iname \*.jpg -pr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Put the following in the file ~/exivcmd

 set Exif.Image.Orientation 1
 set Exif.Thumbnail.Orientation 1

Then run the command

find /var/gallery3/g3data/ -iname \*.jpg -print0 | xargs -0 -n1 exiv2 -v -m ~/exivcmd -k modify