ImageMetaData (set/edit EXIF/IPTC/XMP-metadata and Comment of image files by Exiv2 lib) content plugin
Moderators: Hacker, petermad, Stefan2, white
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
Yes, I was too lazy for too few changes. Try again in a few minutes.fenix_productions wrote:Sources link points to old version.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
I tried to define the new tag "CountryCode" with
in jpg-comment.ini.
First time TC crashed, now it seem to work.
Is the new definition OK?
BTW:
For testing I removed all entries for EXIF and XMP in INI-File and removed also "jpg-comment" from second token.
Peter
Code: Select all
098=8|CountryCode|Iptc.Application2.CountryCode
First time TC crashed, now it seem to work.
Is the new definition OK?
BTW:
For testing I removed all entries for EXIF and XMP in INI-File and removed also "jpg-comment" from second token.
Peter
Last edited by Peter on 2012-02-01, 17:10 UTC, edited 2 times in total.
TC 10.xx / #266191
Win 10 x64
Win 10 x64
What did you do? Can you reproduce and tell me all the steps and necessary information! OK, have just seen it.Peter wrote:First time TC crashed
Yes, token looks alright.Peter wrote:Is the new definition OK?
Last edited by tbeu on 2012-02-01, 17:15 UTC, edited 1 time in total.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
You need to put a jpg-comment.lng next to your jpg-comment.ini.Peter wrote:How to handle the translations?
Code: Select all
[deu]
CountryCode=Landeskürzel
LocationName=Ortsname
Sublocation=Stadtbereich
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Here are strings which appear in English although there is a German language file (Some strings are defined with blanks in existing LNG ...)
But when I translate e.g. "DateCreated" I have problem to use this entry.
Peter
Code: Select all
DateCreated=
TimeCreated=
Writer=
SpecialInstructions=
SuppCategory=
BylineTitle=
EditStatus=
FixtureId=
ObjectName=
LocationName=
ProvinceState=
CountryName=
TransmissionReference=
RecordVersion=
ImageType=
CountryCode=
Peter
TC 10.xx / #266191
Win 10 x64
Win 10 x64
2Peter
Can you please send me your jpg-comment.lng and jpg-comment.ini.
Can you please send me your jpg-comment.lng and jpg-comment.ini.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
I think I found the error. You must not have duplicates of translated entries in the language file, i.e. this is wrong
. Translation map must be injective.
Code: Select all
Creation Date = Erstellungsdatum
DateCreated = Erstellungsdatum
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
German Umlaute
Hello Thomas
I tried to use this definition:
It works fine to set and to display it in TC, but analysing it with Exiftool and with XnView shows problems:
- XnView is OK, but not "Caption" and "Copyroight"
- Exiftool(-k) has problems with all entries, but with the two mentioned entreis it has other problems.
- ExiftoolGUI is the same as XnView.
Please take a look behind it.
Thanks
Peter
I tried to use this definition:
Code: Select all
[attrplugin]
problem=jpg-comment.DateCreated := "" | jpg-comment.LocationName := "-- a ä o ö u ü A Ä O Ö U Ü --" | jpg-comment.SubLocation := "-- a ä o ö u ü A Ä O Ö U Ü --" | jpg-comment.Caption := "-- a ä o ö u ü A Ä O Ö U Ü --" | jpg-comment.Contact := "-- a ä o ö u ü A Ä O Ö U Ü --" | jpg-comment.Copyright := "-- a ä o ö u ü A Ä O Ö U Ü --" | jpg-comment.CountryName := "-- a ä o ö u ü A Ä O Ö U Ü --" | jpg-comment.CountryCode := "" | jpg-comment.Source := "-- a ä o ö u ü A Ä O Ö U Ü --" | jpg-comment.TransmissionReference := "-- a ä o ö u ü A Ä O Ö U Ü --" | jpg-comment.Headline := "-- a ä o ö u ü A Ä O Ö U Ü --" | jpg-comment.Subject := "-- a ä o ö u ü A Ä O Ö U Ü --"
- XnView is OK, but not "Caption" and "Copyroight"
- Exiftool(-k) has problems with all entries, but with the two mentioned entreis it has other problems.
- ExiftoolGUI is the same as XnView.
Please take a look behind it.
Thanks
Peter
TC 10.xx / #266191
Win 10 x64
Win 10 x64
Re: German Umlaute
Thanks for testing. By chance I found a bug in the plugin which could lead to the run-time exception you observed earlier during test.
If you use ft_string option instead of ft_stringw option in jpg-comment.ini for "Caption" and "Copyright" XnView displays them correctly, too.Peter wrote:- XnView is OK, but not "Caption" and "Copyright"
Code: Select all
074=8|Caption|Iptc.Application2.Caption
076=8|Copyright|Iptc.Application2.Copyright
If you run exiftool from command line with -L option (= Latin1 character set) the entries are corretly displayed. But not in command window which has problems with encodings.Peter wrote:- Exiftool(-k) has problems with all entries, but with the two mentioned entries it has other problems.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Re: German Umlaute
Thanks for your quick reply and solution.
Peter
Will there be an update of plugin or is it only a small issue?tbeu wrote:.... By chance I found a bug in the plugin which could lead to the run-time exception you observed earlier during test.....
Thanks. So it seem to be a basic setting of Exiv2 and not an issue of XnView?tbeu wrote:...If you use ft_string option instead of ft_stringw option in jpg-comment.ini for "Caption" and "Copyright" XnView displays them correctly, too.....
With "command window" you mean the "exiftool(-k).exe"?tbeu wrote:...If you run exiftool from command line with -L option (= Latin1 character set) the entries are corretly displayed. But not in command window which has problems with encodings.
Peter
TC 10.xx / #266191
Win 10 x64
Win 10 x64
Re: German Umlaute
Yes and yes. It is not only this issue ...Peter wrote:Will there be an update of plugin or is it only a small issue?
No, it is matter of XnView which does not correctly display UTF-8 encoded IPTC metadata.Peter wrote:So it seem to be a basic setting of Exiv2 and not an issue of XnView?
I checked with old exiftool.exe Vs. 8.0.6.0 on command line. Command window is window of Eingabeaufforderung.Peter wrote:With "command window" you mean the "exiftool(-k).exe"?
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more