Cannot remove Copyright (C) Caplio R1 User

Started by linuxuser, December 11, 2017, 06:16:39 PM

Previous topic - Next topic

linuxuser

I tried -Copyright= and -EXIF.Copyright= to delete the existing value, no chance. I doesn't work too to write any value for the Copyright.

[EXIF]          0x8298 Copyright                       : (C) Caplio R1 User

linuxuser

It drives my crazy, once it worked with a copy.

exiftool -v -EXIF:copyright="bla" test.jpg
======== test.jpg
Rewriting test.jpg...
  Editing tags in: APP0 APP1 IFD0 JFIF
JPEG APP0 (14 bytes):
  Rewriting JFIF
JPEG APP1 (7572 bytes):
  Rewriting IFD0
  Rewriting ExifIFD
  Rewriting MakerNoteRicoh
  Rewriting ImageInfo
  Rewriting RicohSubdir
  Error = [minor] Bad format (0) for MakerNotes entry 0
  Rewriting InteropIFD
  Rewriting IFD1
JPEG APP13 (1056 bytes):
JPEG APP1 (3985 bytes):
JPEG DQT (65 bytes):
JPEG DQT (65 bytes):
JPEG SOF0:
JPEG DHT (29 bytes):
JPEG DHT (85 bytes):
JPEG DHT (27 bytes):
JPEG DHT (80 bytes):
JPEG SOS
Error: [minor] Bad format (0) for MakerNotes entry 0 - test.jpg
    0 image files updated
    1 files weren't updated due to errors

linuxuser

Files from this camera also do not write EXIF-GPS, but XMP coordinates. I used -a.

I would like to try to copy all GPS-XMP-values to EXIF-GPS.

XMP contains, eg:

[XMP]                - GPS Altitude
[XMP]                - GPS Altitude Ref
[XMP]                - GPS Latitude
[XMP]                - GPS Longitude
[XMP]                - City
[XMP]                - Country
[XMP]                - State


I tried already

-tagsfromfile ... -GPS:GPSLatitude -GPS:GPSLatitudeRef -GPS:GPSLongitude -GPS:GPSLongitudeRef -GPS:GPSAltitude -GPS:GPSAltitudeRef -GPSMeasureMode -GPSMapDatum

This doesn't work, nothing is written. So what could I try? Since I have no problems with files from other cameras, I need probably something very special. Unfortunately in this case, the F-stop app wants Exif-Data, no XMP, so it is not enough to see the coordinates in another part.


StarGeek

Try adding the -m option for the copyright tag problem.

For copying the XMP gps data to the GPS group, your best bet is to use the xmp2gps.args file.  You can get it from SourceForge, just click the "Download this file" link.

exiftool -@ xmp2gps.args FileOrDir
"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

linuxuser

Thanks for -m, but I have to use it _everytime_, when I want to write into the copyright-field. After deleting the default copyright  "(C) Caplio R1 User" with -m, I have to write with -m a new copyright and then the gps-part was written correctly (as from other cameras). So I would say solved, but there have been cases where this didn't work at the first time, but the 2nd or 3rd time. It is not easy to check, if it works, because the files are generated by a script. I do random checks. So -m does not heal the file when a new value is written.

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

linuxuser

Thanks, I tried "exiftool -all= -tagsfromfile @ -all:all -unsafe -icc_profile bad.jpg"

After a 2nd repair I still see:

Warning: Invalid RicohSubdir data
Warning: Some character(s) could not be encoded in Latin

There are some fields with UTF-8 characters, but "ESC % G" is defined in -IPTC:CodedCharacterSet

Phil Harvey

If you can send me the file I will take a look. (philharvey66 at gmail.com)

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

linuxuser

Thanks, I've seht you the mail a few minutes ago.

Phil Harvey

OK, yes.  The makernotes are preserved by the repair operation.  Writing with -m or deleting the makernotes entirely is the only way to fix this.

I don't see the "encoded in Latin" warning.  When I run the repair command a second time the file is binary identical to after the first time, and I don't get that warning when either reading or writing the file.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

linuxuser

Ok, it looks like the repair works from time to time. At the moment I cannot find a file where "Warning: Some character(s) could not be encoded in Latin" remains after a repair. I uploaded a file in the folder, where the warning appears during the 1st repair. The link is in my last email. Thanks! I think the best solution would be to use -m.

Phil Harvey

Ah, ok.  For the repair, -codedcharacterset should be added to the command.  This is because CodedCharacterSet is marked as "unsafe", so it isn't copied by default, so the IPTC would otherwise be transcoded into Latin.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

linuxuser

-overwrite_original -all= -tagsfromfile @ -all:all -unsafe

Thanks, where in the chain?

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).