Fix orientation of images in gallery3 for ipad

From Moo
Jump to: navigation, 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