fpexif: XMPData.TagFromIndex now returns only the "value" part of the tag.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8204 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2022-03-09 10:56:50 +00:00
parent f2bf46445d
commit 7034ab1715

View File

@ -1,3 +1,13 @@
{ Implements access to XMP metadata.
Reads the XMP segment into an internal string field.
Use LoadFromStream and SaveToStream methods to read or write this field.
There is also a simple "tag-like" interface, however, it is implemented only
for reading the meta data.
File good for testing:
https://commons.wikimedia.org/wiki/File:Metadata_test_file_-_includes_data_in_IIM,_XMP,_and_Exif.jpg
}
unit fpeXMPData;
{$mode objfpc}{$H+}
@ -128,7 +138,7 @@ end;
function TXMPData.GetTagByIndex(AIndex: Integer): String;
begin
Result := FTags[AIndex];
Result := FTags.ValueFromIndex[AIndex];
end;
function TXMPData.GetTagByName(ATagName: String): String;