ExifTool Forum

ExifTool => Newbies => Topic started by: kofta on August 01, 2019, 05:37:48 AM

Title: Removing all Adobe clues from edited jpgs
Post by: kofta on August 01, 2019, 05:37:48 AM
Hello there, i'm new, and this is my first experiments.

I have an original jpg file from iphone, after editing it in Adobe Photoshop, it has a lot of Adobe data in Exif.

Can i copy all original exif information from original into edited file?
I tried it with online exif editor, but it can't delete some of 'String' Adobe data.
Then i delete all xmp data with Exiftool, but in online tool photo-forensics/#strings
I can still see Adobe words:
Exif
Apple
iPhone 6s
2019:07:27 16:20:41
0221
0100
2019:07:27 16:20:41
2019:07:27 16:20:41
Apple
iPhone 6s back camera 4.15mm f/2.2
2019:07:27
Adobe_CM
Adobe

b34r
7GWgw


So, the question is: Can i copy all original exif information from original into edited file or may be delete everything "Adobeish" from my edited jpg file?
I tried to search forum, but still nothing exactly..

Andrew. :) 
Title: Re: Removing all Adobe clues from edited jpgs
Post by: Hayo Baan on August 01, 2019, 06:33:56 AM
To remove all metadata from the edited image and replace it with the metadata from the original, you could do something like this:
exiftool -all= -tagsfromfile org.jpg -all:all edited.jpg
Title: Re: Removing all Adobe clues from edited jpgs
Post by: kofta on August 01, 2019, 07:18:47 AM
it works nice, thank you) Strings are clean
Apple
iPhone 6s
2019:07:27 16:20:41
0221
0100
2019:07:27 16:20:41
2019:07:27 16:20:41
2Apple iOS
bplist00O
bplist00
UflagsUvalueYtimescaleUepoch
jEnG
Apple
iPhone 6s back camera 4.15mm f/2.2
2019:07:27
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz
&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz
odwug
o$R2Km2'
W$g%JWWz
6YYs
9ier


But now, i have an old Thumbnail)) Can i apply all this without changing the thumbnail?

Anyway, thank you a lot!)
Title: Re: Removing all Adobe clues from edited jpgs
Post by: Phil Harvey on August 01, 2019, 07:29:59 AM
Try this:

exiftool -all= -tagsfromfile org.jpg -all:all -tagsfromfile @ -thumbnailimage edited.jpg

- Phil
Title: Re: Removing all Adobe clues from edited jpgs
Post by: kofta on August 01, 2019, 07:50:10 AM
Phil, thank you for answer, but its not working..

All exif is okay, but it has a org file thumbnail.. 90 degree turned..
Title: Re: Removing all Adobe clues from edited jpgs
Post by: Phil Harvey on August 01, 2019, 07:52:16 AM
The command I gave will use the thumbnail from "edited.jpg".  Is that what you wanted?

- Phil
Title: Re: Removing all Adobe clues from edited jpgs
Post by: kofta on August 01, 2019, 08:18:06 AM
Yes, from edited one, i checked it, an it has the new (correct) thumbnail..

but after changing all exif by this command: exiftool -all= -tagsfromfile org.jpg -all:all -tagsfromfile @ -thumbnailimage edited.jpg
edited.jpg image showing the original.jpg image thumbnail
???
Title: Re: Removing all Adobe clues from edited jpgs
Post by: Phil Harvey on August 01, 2019, 08:29:19 AM
I'll have to do some investigating to see why my other command didn't work, but this one should do the job:

exiftool -all= -tagsfromfile org.jpg -all:all --thumbnailimage -tagsfromfile @ -thumbnailimage edited.jpg

- Phil
Title: Re: Removing all Adobe clues from edited jpgs
Post by: Phil Harvey on August 01, 2019, 08:40:00 AM
I'm still investigating, but I discovered that this also works (specifying IFD1 when copying the ThumbnailImage):

exiftool -all= -tagsfromfile org.jpg -all:all -tagsfromfile @ -ifd1:thumbnailimage edited.jpg

- Phil
Title: Re: Removing all Adobe clues from edited jpgs
Post by: kofta on August 01, 2019, 08:51:08 AM
Well, thank you a lot Phil!)

First i try it this way:
1) make a 160x120 thumb from edited pix
2) change thumb from editet image whith this command: exiftool "-thumbnailimage<=thumb.jpg" image.jpg
the thumb changed, but exif was full of Adobe xmp words (because, the thumb was made with Photoshop and edited image) omg!))

than i clear my thumb file exif, and tadam!))

later i'll try your suggested commands

And Phil, thank you a lot for your work and researches! You make a great things for photographers
Title: Re: Removing all Adobe clues from edited jpgs
Post by: Phil Harvey on August 01, 2019, 10:34:16 AM
Ah.  I found the reason.  It is related to a change in ExifTool 10.38 when the ThumbnailImage groups were changed.  I will patch ExifTool 11.61 so the first command I provided will work.  I'm not surprised there were some side-effects from the 10.38 change, but I am surprised that it took more than two years to discover this one.

- Phil