2

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?

9

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.

0

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

  • Who knows how Windows will mangle the data? ... But maybe it's okay... Are “Windows Photo Viewer” rotations lossless? – xiota Jun 27 '18 at 8:35
  • Wait, what? If I tell File Explorer to rotate my image, it will delete the rotation tag? A) It does not (tried it just now, IrfanView now rotates the picture as I told File Explorer before), B) if it did, this would be a major bug in the rotation routine and I wouldn't count on it being there forever. – flolilo Jun 27 '18 at 15:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.