LEADTOOLS Support
Imaging
Imaging SDK Questions
Leadtools 17 How to read all IPTC Comments
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, August 3, 2010 5:16:27 AM(UTC)
Groups: Registered
Posts: 7
A few questions:
1. How to determine the tag name from the id.
2. How to determine the string representation of the tag value. (e.g. Rational, URational).
#2
Posted
:
Wednesday, August 4, 2010 3:09:19 AM(UTC)
Groups: Registered
Posts: 7
I have developed a program under Leadtools 13.
The Lead control has a function ReadComment which returns the value for a IPTC comment.
The return value is always a string.
Now under Leadtools 17 the values may be from type Ascii, Rational etc.
My questions:
1. How determine a collection of all IPTC (Name, Value as string).
2. How convert the value into string (for each data type (e.g. URational) ).
#3
Posted
:
Wednesday, August 4, 2010 6:06:01 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You can use the RasterCodecs.ReadComment Method to get the comment field from a file and the RasterCommentMetadata.GetDataType Method which gets the RasterCommentMetadataDataType of the specified RasterCommentMetadataType.
You can check these methods' help topics in the .NET help file for more information and a sample code.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Leadtools 17 How to read all IPTC Comments
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.