Page 1 of 1

Strip all metadata without altering original image.

Posted: Thu Apr 23, 2015 6:06 am
by Katamara
Hello.

I am not sure about the options for nconvert (linux) to remove all metadata from jpeg/tif images
and 'not' alter the original image content.

I tried:
$ nconvert -rmeta -overwrite -keepfiledate image-01.jpg

Questions;
1. Will the above remove all metadata, including EXIF, XMP, COMMENT, ICC PROFILE, MAKER NOTES ?
2. Will the above remove metadata and 'not' alter the image contents ?
3. How can I preserver the original 'Creation date/time' or 'DateTimeOriginal' ?
4. Is nconvert the 'only' available method to use commands on the command line ? i.e. XnviewMP

Thank you.

Re: Strip all metadata without altering original image.

Posted: Thu Apr 23, 2015 12:36 pm
by xnview
Katamara wrote: 1. Will the above remove all metadata, including EXIF, XMP, COMMENT, ICC PROFILE, MAKER NOTES ?
yes
2. Will the above remove metadata and 'not' alter the image contents ?
Yes
3. How can I preserver the original 'Creation date/time' or 'DateTimeOriginal' ?
-keepfiledate doesn't work??
4. Is nconvert the 'only' available method to use commands on the command line ? i.e. XnviewMP
yes

Re: Strip all metadata without altering original image.

Posted: Fri Apr 24, 2015 5:23 am
by Katamara
Thank you Pierre.

Regarding: -keepfiledate
I can't be sure. I was watching the 3 dates shown in XnViewMP when I did the command,
and they all changed. I didn't investigate this further.

If I understand you correctly, I will be able to preserve the Creation Date exif with -keepfiledate.
If I check the image 'before' with for example, exiftool...
$ exiftool -s -DateTimeCreated DSCF8557.tif

then I do: $ nconvert -rmeta -overwrite -keepfiledate DSCF8557.tif
it 'should' preserve the exif DateTimeCreated ?

Thank you.

Re: Strip all metadata without altering original image.

Posted: Fri Apr 24, 2015 6:57 am
by xnview
sorry but -keepfiledate works only on windows
And on linux it's not possible to change created_date_time's file

Re: Strip all metadata without altering original image.

Posted: Fri Apr 24, 2015 6:42 pm
by Katamara
Thank you Pierre, ambitious thinking on my part.
Best regards,

[Solved]