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?
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?
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
.
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
Found answer: Rotate photo on Windows File Explorer. Orientation attribute is removed during rotation but all other exif-data is remaining in the photo.