Removing EXIF from RAW files?

Started by JobWellDone, May 09, 2023, 01:11:36 AM

Previous topic - Next topic

JobWellDone

I have tried command exiftool.exe -all= _DSC00001.ARW on a Sony raw file, however it does not clear the EXIF tags, i was assuming since ExifTool can change the RAW file to embed the thumbnail and then save it can also clear exif tags for RAW's?

StarGeek

You DO NOT want to do that.  RAW files depend upon some EXIF tags in order to be decoded properly.  Removing all EXIF can corrupt the files.

See FAQ #7
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

wywh

Quote from: StarGeek on May 09, 2023, 01:31:42 AMRAW files depend upon some EXIF tags in order to be decoded properly.  Removing all EXIF can corrupt the files.

'-All=' corrupts also .heic. Or is it possible to recover a .heic from that?

So use something like this:

exiftool -overwrite_original -All= --icc_profile:All -TagsFromFile @ -ColorSpaceTags .
https://exiftool.org/faq.html#Q32

- Matti