TransWikia.com

How to remove orientation attribute from the photo without touching other exif-data?

Photography Asked by Roger Wayne on March 16, 2021

Removing exif-data via Windows file properties does not allow to delete only orientation attribute and removing all exif data removes GPS position also.

Is there any way to remove only the orientation attribute leaving other exif data intact?

3 Answers

You can use exiftool to remove the orientation tag:

exiftool -Orientation= /target/dir/or/File

Replace /target/dir/or/File with the files and/or directories you want to process. If run under Unix/Mac, use single quotes to avoid bash interpretation.

  • To suppress the creation of backup files, add -overwrite_original.

  • To recurse into subdirectories, add -r.

Answered by StarGeek on March 16, 2021

Found answer: Rotate photo on Windows File Explorer. Orientation attribute is removed during rotation but all other exif-data is remaining in the photo.

Answered by Roger Wayne on March 16, 2021

In fact the mentioned exiftool command did not work for me. It rewrote the metadata, but did not remove the Orientation tag. I finally found this solution:

exiftool -n -Orientation=0 /path/to/my/file

Answered by Andreas K. aus M. on March 16, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP