Delete all metadata without color information

Started by seppmanz, August 07, 2014, 05:50:01 AM

Previous topic - Next topic

seppmanz

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

StarGeek

Test out this to see if it works:
ExifTool -all= --icc_profile <file/dir>
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

seppmanz

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

StarGeek

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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

seppmanz

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

Hayo Baan

Can you post both the before and after jpgs here too? That would probably help us find the cause (and solution).
Hayo Baan – Photography
Web: www.hayobaan.nl

seppmanz

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

Hayo Baan

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
Hayo Baan – Photography
Web: www.hayobaan.nl

seppmanz

Dear Hayo,

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

Joseph