ExifTool Forum

ExifTool => Newbies => Topic started by: seppmanz on August 07, 2014, 05:50:01 AM

Title: Delete all metadata without color information
Post by: seppmanz on August 07, 2014, 05:50:01 AM
Hey,

last week I found Exiftool to chance and delete metadata to prepare for the web. I take the command "exiftool -all= " to delete the metadata. The metadata are deleted but the color information too. The picture looks like desaturated and not brilliant as the original file. Can anybody help me to delete the most or all of the metadata without the required color information to makes the picture looks like the original file?

thanks for your help

Joseph
Title: Re: Delete all metadata without color information
Post by: StarGeek on August 07, 2014, 01:02:18 PM
Test out this to see if it works:
ExifTool -all= --icc_profile <file/dir>
Title: Re: Delete all metadata without color information
Post by: seppmanz on August 07, 2014, 05:41:09 PM
Hey StarGeek,

thank you for your help and your efforts.

I tested your code but I had the same problem. The original picture has more contrast, luminosity and saturation as the processed picture. I tested this with a couple of pictures, all the same. I think something change some color settings, color styles or color space. I opened the original and the processed, both have the same color space (RGB, 8bit), but have different histograms in the shadows and dark mid tones (the processed has more bright in the dark tones and dark mid tones). When I opened both pictures in PS and copied the original on a new layer above the processed picture, the original loses after the copy the color intensity (contrast) too, but without any warning or warning windows.

I've no idea why. Perhaps someone can help me.

Joseph
Title: Re: Delete all metadata without color information
Post by: StarGeek on August 07, 2014, 08:15:13 PM
What version of ExifTool are you using?   Also, what program are you using to view the image?  Can you possible post a before and after image?

Hopefully, someone will have a better idea as to the problem because I'm just grasping at straws with my questions.  An old version of ExifTool might be removing the APP14 "Adobe" group which could cause a change in color.  Using two different programs to view the image might show differences if one recognizes ICC profiles and the other doesn't.
Title: Re: Delete all metadata without color information
Post by: seppmanz on August 08, 2014, 04:29:17 AM
Dear StarGeek,

I use the newest version of Exiftool 9.69 on MAC OS 10.9. I use to watch and convert the image files Lightroom 5 and others. In each program the same problem with the different color, contrast and luminosity. In the attachments on the picture left the processed image exiftool -all= --icc_profile <file/dir> on the right the original.

Thanks

Joseph
Title: Re: Delete all metadata without color information
Post by: Hayo Baan on August 08, 2014, 11:19:44 AM
Can you post both the before and after jpgs here too? That would probably help us find the cause (and solution).
Title: Re: Delete all metadata without color information
Post by: seppmanz on August 08, 2014, 12:29:09 PM
Hey Mr. Baan,

I tested the same with the .jpg file out of the cameras. It's egal if I convert a file from Raw with LR oder C1 or use a out of camera file. All the same with my Fuji and Nikon. So I post a original and processed with Exiftool from a jpg out of the camera (scaled-down to 50%) . Perhaps the Exiftool changes the white balance? Because in my opinion the magenta going more to the green.

Thanks for your efforts

Joseph
Title: Re: Delete all metadata without color information
Post by: Hayo Baan on August 08, 2014, 01:51:08 PM
Ok, found it, you need to use:
ExifTool -all= --icc_profile:all <file/dir>
(StarGeek's command only missed the :all after icc_profile.

Cheers,
Hayo
Title: Re: Delete all metadata without color information
Post by: seppmanz on August 08, 2014, 02:50:13 PM
Dear Hayo,

thank you very much for your help and efforts. All works fine with your command.

Joseph