ExifTool Forum

ExifTool => Newbies => Topic started by: JobWellDone on May 09, 2023, 01:11:36 AM

Title: Removing EXIF from RAW files?
Post by: JobWellDone on May 09, 2023, 01:11:36 AM
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?
Title: Re: Removing EXIF from RAW files?
Post by: StarGeek on May 09, 2023, 01:31:42 AM
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 (https://exiftool.org/faq.html#Q7)
Title: Re: Removing EXIF from RAW files?
Post by: wywh on May 09, 2023, 01:57:36 AM
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