Reputation: 123
When I remove the EXIF data from a folder with images with the Windows properties-tool, the orientation (that was already manually changed), is lost. So when I want to place all this pictures on a website, they aren't displayed correctly. The problem is that the size of the folder has increased dramatically at this moment, to change it manually again. So, is there a way to keep the orientation tag when you remove all the EXIF data, in one step?
Thanks in advance.
Upvotes: 10
Views: 12709
Reputation: 5791
From the command line, you could use Exiftool with this command:
exiftool -all:all= -tagsFromFile @ -exif:Orientation example.jpg
Another thing you could do is rotate the image before uploading. For example, Irfanview has a plugin that will do lossless jpeg rotation for you.
Finally, you can check to see if the website can rotate the image for you. Sites like Facebook and Imgur have options to rotate the image.
Upvotes: 11
Reputation: 772
There is an option in XnView MP to reset all exif rotation information. It can be found in the menu Tools > Jpeg Lossless transformation > Reset EXIF orientation field
Upvotes: 0
Reputation: 874
I use Imagemagick for this. Quick batch script (linux):
for f in *.JPG *.jpg; do convert $f -auto-orient $f; done
withstanding some pain, you can do similar things with windows Batch or (slightly less painful) Powershell.
Notice that this only takes care of the orientation, you might still want to remove the rest of the EXIF.
Upvotes: 6