Picasa_config no writable tags set

Started by PAC, January 11, 2023, 09:53:00 AM

Previous topic - Next topic

PAC

Hello,

I'm new in the ExifTool forum.

Trying to copy my Picasa Database photo face tags using Picasa_config command.
I've followed instructions to change the contact.xml directory, then create a shortcut with the following target:
C:\Exif\exiftool.exe -config "C:\Exif\config_files\picasa_faces.config" -k -r "-xmp-dc:subject+<PicasaRegionNames" "-iptc:keywords+<PicasaRegionNames".

It used to work with couples of tries, but now I'm always getting the warning message "No writable tags set from C:/Exif/Test/PICT_test.JPG"

When opening the test picture with exiftool(-k).exe, region names info are well indicated.
See below details.

Many thanks in advance for you help


ExifTool Version Number         : 12.54
File Name                       : PICT_test.JPG
Directory                       : C:/Exif/Test
File Size                       : 1782 kB
File Modification Date/Time     : 2023:01:10 10:33:42+01:00
File Access Date/Time           : 2023:01:11 15:47:04+01:00
File Creation Date/Time         : 2023:01:11 10:17:01+01:00
File Permissions                : -rw-rw-rw-
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Make                            : KONICA MINOLTA CAMERA, Inc.
Camera Model Name               : Revio KD-420Z
Orientation                     : Horizontal (normal)
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Software                        : Picasa
Modify Date                     : 2023:01:10 10:33:42
Y Cb Cr Positioning             : Centered
Exposure Time                   : 1/200
F Number                        : 2.8
ISO                             : 50
Exif Version                    : 0220
Date/Time Original              : 2010:04:19 15:12:07
Create Date                     : 2010:04:19 15:12:07
Components Configuration        : Y, Cb, Cr, -
Compressed Bits Per Pixel       : 3.4
Brightness Value                : 5.5
Exposure Compensation           : 0
Max Aperture Value              : 2.8
Metering Mode                   : Center-weighted average
Light Source                    : Unknown
Flash                           : On, Red-eye reduction
Focal Length                    : 5.6 mm
Maker Note Minolta 3            : (Binary data 700 bytes, use -b option to extract)
Flashpix Version                : 0100
Color Space                     : sRGB
Exif Image Width                : 2272
Exif Image Height               : 1704
Interoperability Index          : R98 - DCF basic file (sRGB)
Interoperability Version        : 0100
Custom Rendered                 : Normal
Exposure Mode                   : Auto
White Balance                   : Auto
Digital Zoom Ratio              : 0
Focal Length In 35mm Format     : 34 mm
Scene Capture Type              : Standard
Gain Control                    : None
Contrast                        : Normal
Saturation                      : Normal
Sharpness                       : Normal
Subject Distance Range          : Unknown
Compression                     : JPEG (old-style)
Thumbnail Offset                : 1562
Thumbnail Length                : 6048
XMP Toolkit                     : XMP Core 5.1.2
Region Applied To Dimensions W  : 2272
Region Applied To Dimensions H  : 1704
Region Applied To Dimensions Unit: pixel
Region Name                     : Emile CHAMOND, Juliette PIRIOU
Region Type                     : Face, Face
Region Area X                   : 0.768926, 0.444322
Region Area Y                   : 0.409624, 0.439554
Region Area W                   : 0.227993, 0.165053
Region Area H                   : 0.366197, 0.264085
Region Area Unit                : normalized, normalized
Current IPTC Digest             : b443520a10119da99c2550175e6d0efb
Envelope Record Version         : 4
Coded Character Set             : UTF8
Application Record Version      : 4
IPTC Digest                     : b443520a10119da99c2550175e6d0efb
Image Width                     : 2272
Image Height                    : 1704
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
Aperture                        : 2.8
Image Size                      : 2272x1704
Megapixels                      : 3.9
Scale Factor To 35 mm Equivalent: 6.1
Shutter Speed                   : 1/200
Thumbnail Image                 : (Binary data 6048 bytes, use -b option to extract)
Circle Of Confusion             : 0.005 mm
Field Of View                   : 55.8 deg
Focal Length                    : 5.6 mm (35 mm equivalent: 34.0 mm)
Hyperfocal Distance             : 2.26 m
Light Value                     : 11.6


Phil Harvey

There is no PicasaRegionNames tag in your output.  Are you loading the picasa_faces.config config file?  ie)

exiftool -config picasa_faces.config ...

Also, it seems that this config file loads contacts.xml and Picasa.ini files.   These must exist and be configured properly.    Read the comments at the top of picasa_faces.config for details.

- 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 ($).

PAC

Thank you Phil for your reply.
After investigating I've realized Picasa_faces config only work for suggested face tags by Picasa which are not yet confirmed.
Once faces are confirmed and assigned to the right person in Picasa, files are updated with "Region Name".
Picasa.ini file is also updated.
However, exif Picasa_faces config doesn't work anylonger.

I'll manage via simple command that writes region names to other windows tags like Keywords.
C:\Exif\exiftool.exe -k -r "-iptc:keywords+<RegionName" "-iptc:contact+<RegionName"

Is it possible though to avoid file duplication and only keep the updated version / skip the _originals?
Thank you

Phil Harvey

Add -overwrite_original to the command to avoid preserving the original files.

- 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 ($).

PAC