Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
RasterCommentMetadataType Enumeration
See Also  
Leadtools Namespace : RasterCommentMetadataType Enumeration




List of available metadata comments.

Syntax

Visual Basic (Declaration) 
Public Enum RasterCommentMetadataType 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As RasterCommentMetadataType
C# 
public enum RasterCommentMetadataType : Enum 
Managed Extensions for C++ 
__value public enum RasterCommentMetadataType : public Enum 
C++/CLI 
public enum class RasterCommentMetadataType : public Enum 

Members

MemberDescription
Artist Person who created the image. (TIFF Comment)
Copyright Copyright notice. (TIFF Comment)
DateTime Date and time (YYYY:MM:DD HH:MM:SS). The field length is 20, counting the NULL terminator. (TIFF Comment)
Description Description of the image. (TIFF Comment)
HostComputer Computer and operating system in use. (TIFF Comment)
Make Manufacturer of the equipment used to create the image. (TIFF Comment)
Model Model name and number of the equipment. (TIFF Comment)
NameOfDocument Name of the document from which the image was scanned. (TIFF Comment)
NameOfPage Page name from which the image was scanned. (TIFF Comment)
Software Name and version of the software package used to create the image. (TIFF Comment)
PatientName Patient name (DICOM)
PatientId Patient ID (DICOM)
PatientBirthdate Patient birth date (DICOM)
PatientSex Patient sex (DICOM)
StudyInstance Study instance ID (DICOM)
StudyDate Study date (DICOM)
StudyTime Study time (DICOM)
StudyReferringPhysician Referring physician (DICOM)
SeriesModality Series modality (DICOM)
SeriesId Series ID (DICOM)
SeriesNumber Series number (DICOM)
ExifVersion Exif version. LEADTOOLS always writes this value as 0110, meaning version 1.1. Data type: RasterCommentMetadataDataType.Ascii. Length: 4.
DateTimeOriginal Date and time the original image is captured. The format is YYYY:MM:DD HH:MM:SS. The time is in a 24-hour format, and a blank space is left between the date and the time. Data type: RasterCommentMetadataDataType.Ascii. Length: 20.
DateTimeDigitized Date and time the file is generated. If the file is generated directly, as with a digital camera, this is the same as the time the original image is captured. Data type: RasterCommentMetadataDataType.Ascii. Length: 20.
ShutterSpeedValue Shutter speed. The unit of measure is APEX. Data type: RasterCommentMetadataDataType.Rational. Length: 1.
Aperture Aperture value. This is the ratio of lens aperture for the focal length. The unit of measure is APEX. Data type: RasterCommentMetadataDataType.URational. Length: 1.
Brightness Brightness value. Data type: RasterCommentMetadataDataType.Rational. Length: 1.
ExposureBias Exposure bias. This is the value for correcting a biased exposure. The unit of measure is APEX. Data type: RasterCommentMetadataDataType.Rational. Length: 1.
MaxAperture Minimum lens f-number. Data type: RasterCommentMetadataDataType.URational. Length: 1.
SubjectDistance Distance from lens to subject (in meters). Data type: RasterCommentMetadataDataType.URational. Length: 1.
MeteringModePhotometry mode. Possible values are:

0Unidentified
1Average
2Center Weighted Average
3Spot
4MultiSpot
5Pattern
6Partial
255Others

Data type: SHORT. Length: 1.

LightSourceLight source. Possible values are:

0Unidentified
1Daylight
2Florescence light
3Tungsten Lamp
17Standard light source A
18Standard light source B
19Standard light source C
20D55
21D65
22D75
255Others

Data type: SHORT. Length: 1.

Flash Flash On/Off. Possible values are 1 for on or 0 for off. Data type: SHORT. Length: 1.
FocalLength Focal length, measured in millimeters. Data type: RasterCommentMetadataDataType.URational. Length: 1.
ExposureTime Exposure time, expressed as a fraction of a second. Data type: RasterCommentMetadataDataType.URational. Length: 1.
FNumber The actual lens F stop (ratio of lens aperture to focal length). Data type: RasterCommentMetadataDataType.URational. Length: 1.
MakerNote Maker note. Data type: RasterCommentMetadataDataType.Ascii. The creator of the file determines the data format.
UserCommentUser comment. Data type: RasterCommentMetadataDataType.Ascii. Length: variable. The first eight bytes specify the data format, and the remainder of the comment is in the specified format. The first eight bytes can be any of the following:

41 53 43 49 49 00 00 00ASCII
4A 49 53 00 00 00 00 00JIS (Japanese)
00 00 00 00 00 00 00 00Undefined

SubSecTime Decimal extension for seconds that are specified in the RasterCommentMetadataType.DateTime field. Data type: RasterCommentMetadataDataType.Ascii. Length: variable.
SubSecTimeOriginal Decimal extension for seconds that are specified in the RasterCommentMetadataType.DateTimeOriginal field. Data type: RasterCommentMetadataDataType.Ascii. Length: variable.
SubSecTimeDigitized Decimal extension for seconds that are specified in the RasterCommentMetadataType. DateTimeDigitized field. Data type: RasterCommentMetadataDataType.Ascii. Length: variable.
SupportedFlashPixVersion Supported FlashPix version (Exif 2.0). LEADTOOLS always writes 0100 here. Data type: RasterCommentMetadataDataType. Undefined. Length: 4
ColorSpaceColor space (Exif 2.0). Specifies whether the color is calibrated or not. LEADTOOLS always writes this value as 1. Data type: SHORT. Length: 1 Possible values are:

1sRGB (PC monitor conditions)
0xFFFFUncalibrated
Otherreserved

ExposureProgramExposure program (Exif 2.0) The class of the program used by the camera to set exposure when the picture is taken. Data type: SHORT. Length = 1. Possible values are:

0Not defined
1Manual
2Aperture priority
4Shutter priority
5Creative program (biased toward depth of field)
6Action program (biased toward fast shutter speed)
7Portrait mode (for closeup photos with the background out of focus)
OtherReserved

SpectralSensitivity Spectral sensitivity (Exif) - The spectral sensitivity of each channel of the camera used. It is an ASCII string compatible with the standard developed by the ASTM technical committee. Data type: RasterCommentMetadataDataType.Ascii. Length: any
IsoSpeedRatings ISO speed ratings (Exif) - the ISO speed and the ISO Latitude of the camera or input device as specified in ISO 12232 Data type: SHORT. Length: any
OptoElectricCoefficient Optoelectric coefficient (Exif) - Opto-Electric Conversion function specified in ISO 14524. OECF is the relationship between the camera optical input and the image values. Data type: RasterCommentMetadataDataType. Undefined. Length: ANY. This is an array of m rows and n columns.
RelatedSoundFile Related audio file (Exif) - the name of an audio file related to the image data. The name should be 8 ASCII chars + '.' + 3 chars for extension + NULL. Data type: RasterCommentMetadataDataType.Ascii. Length: 13.
FlashEnergy Flash energy (Exif) - the strobe energy at the time the image iscaptured, as measured in Beam Candle Power Seconds (BPCS) Data type: RasterCommentMetadataDataType.URational. Length: 1
SpatialFrequencyResponse Spatial frequency response (Exif) - the camera or input device spatial frequency table and SFR values in the direction of image width, image height and diagonal direction, as specified in ISO 12233. Data type: RasterCommentMetadataDataType.Ascii. Length: ANY This is an array of m rows and n columns.
FocalPlaneXResolution Focal plane X Resolution (Exif) - the number of dots per resolution unit on the camera focal plane in the image width (X) direction
FocalPlaneResolutionUnit Focal plane resolution unit (Exif). This is the resolution unit for the RasterCommentMetadataType.FocalPlaneXResolution and RasterCommentMetadataType.FocalPlaneYResolution comments.
FocalPlaneYResolution Focal plane Y Resolution (Exif) - the number of dots per inch on the camera focal plane in the image height (Y) direction
SubjectLocation Subject location (Exif) - the location of the main subject in the scene. The first value is the X column number and the second is the Y row number. Data type: SHORT. Length: 2
ExposureIndex Exposure index (Exif) - the image sensor type on the camera or input device. Data type: SHORT. Length: 1
SensingMethodSensing method (Exif) - the image sensor type on the camera or input device. Data type: SHORT. Length: 1 Possible values are:

1Not defined
2One-chip color area sensor
3Two-chip color area sensor
4Three-chip color area sensor
5Color sequential area sensor
7Trilinear sensor
8Color sequential sensor
otherReserved

FileSourceFile source (Exif) - the image source. If a digital camera recorded the image, the value will always be 3, to indicate that the image was recorded on a digital camera. Data type: SHORT. Length: 1 Possible values are:

3Image recorded on a DSC (Digital Still Camera)
OtherReserved

SceneTypeScene type (Exif) - the type of scene. If a DSC recorded the image, this value will always be 1, indicating that the image was directly photographed. Data type: RasterCommentMetadataDataType.Ascii. Length: 1 Possible values are:

1A directly photographed image
OtherReserved

CfaPattern CFA Pattern (Exif) - the color filter array (CFA) geometric pattern of the image sensor when a one-chip color sensor was applied. It does not apply to any other sensing methods. Data type: RasterCommentMetadataDataType. Undefined. Length: ANY This is an array m x n (horz x vertical), where the pattern is repeated every m pixels on the horizontal and n pixels on the vertical.
SubjectArea Location and area of the main subject in the overall scene. Data type: SHORT. Count: 2 (Location of the subject is given in X, Y coordinates), 3 (Area of the main subject is given as a circle, X, Y, D, where X and Y are the center coordinates and D is the diameter.) and 4 (Area of the main subject is given as a rectangle, X, Y, W, H, where X and Y are the center coordinates, W is the width or the rectangle and H is the height of the rectangle.).
CustomRendered Use of special processing on image data, such as rendering geared toward output. When special processing is performed, the reader is expected to disable or minimize any further processing. Data type: SHORT; Count: 1; Possible Values: 0 ( Normal process), 1 (Custom process), Other (Reserved). Default: 0;
ExposureMode Exposure mode set when the image was shot. In auto-bracketing mode the camera shoots a series of frames of the same scene at different exposure settings. Tag: 41986; Data type: SHORT; Count: 1; Possible values are: 0 (Auto exposure), 1 (Manual exposure), 2 (Auto-bracket), Other (Reserved); Default: none.
WhiteBalance White balance mode set when the image was shot. Data type: SHORT; Count: 1; Possible values are: 0 (Auto white balance), 1 (Manual white balance), Other (Reserved); Default: none.
DigitalZoomRatio Digital zoom ratio set when the image was shot. If the numerator of the recorded value is 0, the digital zoom was not used. Data type: RasterCommentMetadataDataType.URational; Count: 1; Default: none.
FocalLengthIn35MMFilm Equivalent focal length, assuming a 35mm film camera, in mm. A value of 0 means the focal length is unknown. Note that this comment is different from the RasterCommentMetadataType.FocalLength comment. Data type: SHORT; Count: 1; Default: none.
SceneCaptureType Type of scene that was shot. It can also be used to record the mode in which the image was shot. Note that this differs from the RasterCommentMetadataType.SceneType comment. Data type: SHORT; Count: 1; Possible values are: 0 (Standard), 1 (Landscape), 2 (Portrait), 3 (Night scene), Other (Reserved); Default: 0.
GainControl Degree of overall image gain adjustment. Data type: SHORT; Count: 1; Possible values are: 0 (None), 1 (Low gain up), 2 (High gain up), 3 (Low gain down), 4 (High gain down), Other (Reserved); Default: none.
Contrast Direction of contrast processing applied by the camera when the image was shot. Data type: SHORT; Count: 1; Possible values are: 0 ( Normal), 1 (Soft), 2 (Hard), Other (Reserved); Default: 0.
Saturation Direction of saturation processing applied by the camera when the image was shot. Data type: SHORT; Count: 1; Possible values are: 0 ( Normal), 1 (Low saturation), 2 (High saturation), Other (Reserved); Default: 0.
Sharpness Direction of sharpness processing applied by the camera when the image was shot. Data type: SHORT; Count: 1; Possible values are: 0 ( Normal), 1 (Soft), 2 (Hard), Other (Reserved); Default: 0.
DeviceSettingDescription Information on the picture-taking conditions of a particular camera model. Used only to indicate the picture-taking conditions in the reader. Data type: RasterCommentMetadataDataType.Ascii; Count: Any; The data is recorded in Unicode using SHORT fro the number of display rows and columns and RasterCommentMetadataDataType.Ascii for the camera settings. The Unicode (UCS -2) string including Signature is NULL terminated. The specifics of the Unicode string are as given in ISO/IEC 10464-1. Default: none.
SubjectDistanceRange Distance to the subject. Data type: SHORT; Count: 1; Possible values are: 0 (Unknown), 1 (Macro), 2 (Close view), 3 (Distant view), Other (Reserved); Default: none.
ImageUniqueId Identifier assigned uniquely to each image. It is recorded as an ASCII string equivalent to hexadecimal notation and 128-bit fixed length. Tag: 42016; Data type: RasterCommentMetadataDataType.Ascii; Count: 33; Default: none
Gamma Indicates the value of coefficient gamma. The formula of transfer function used for image reproduction is expressed as follows:
(Reproduced value) = (Input value) ^ (gamma).
(The Reproduced and Input values are normalized to be between 0 and 1). The gamma must be positive. Tag: 42240; Data Type: RasterCommentMetadataDataType.Rational; Count: 1; Default: none.
GpsVersionId Version number of the GPS image file directory (IFD). The current version is 2.0.0.0. This comment must be included when any GPS comments are used. Unlike the RasterCommentMetadataType.ExifVersion comment, this comment is written in bytes. A version written as 2.0.0.0 is actually 0x02000000 when coded. Data type: BYTE. Length: 4.
GpsLatitudeRef North or south latitude. Possible values are "N" for north and "S" for south. Data type: RasterCommentMetadataDataType.Ascii. Length: 2.
GpsLatitude Latitude, expressed as three RasterCommentMetadataDataType.URational values. When expressed in degrees, minutes, and seconds, latitude is written as dd/1,mm/1,ss/1. If degrees and minutes are used as the units, and minutes are written with fractions to two decimal places, then latitude is expressed as dd/1,mmmm/100,0/1. Data type: RasterCommentMetadataDataType.URational. Length: 3.
GpsLongitudeRef East or west longitude. Possible values are "E" for east and "W" for west. Data type: RasterCommentMetadataDataType.Ascii. Length: 2.
GpsLongitude The longitude, expressed as three RasterCommentMetadataDataType.URational values. When expressed in degrees, minutes and seconds, longitude is written as ddd/1,mm/1,ss/1. If degrees and minutes are used as the units, and minutes are written with fractions to two decimal places, then longitude is expressed as dd/1,mmmm/100,0/1. Data type: RasterCommentMetadataDataType.URational. Length: 3.
GpsAltitudeRef Reference altitude. In the current version, sea level is used as the reference, which must be zero. The reference unit is meters. Data type: BYTE. Length: 1.
GpsAltitude Altitude, in meters, relative to the reference altitude. Data type: RasterCommentMetadataDataType.URational. Length: 1.
GpsTimestamp Time stamp in UTC (Coordinated Universal Time) time. The time is expressed as three RasterCommentMetadataDataType.URational values, for hours, minutes, and seconds. Data type: RasterCommentMetadataDataType.URational. Length: 3.
GpsSatellites GPS satellites used for measurement. The coding format is not stipulated. This comment can be used to code information such as the number of satellites, the satellite number, the satellite angle of elevation, its azimuth, and its SNR. If the GPS receiver cannot make a measurement, this comment is NULL. Data type: RasterCommentMetadataDataType.Ascii. Length: variable.
GpsStatus Status of the GPS receiver at when the image is recorded. Possible values are "A" when measurement in progress and "V" when measurement is interrupted. Data type: RasterCommentMetadataDataType.Ascii. Length: 2.
GpsMeasureMode GPS measurement mode. A value of "2" denotes two-dimensional measurement, and "3" denotes three-dimensional measurement. Data type: RasterCommentMetadataDataType.Ascii. Length: 2.
GpsDop DOP (data precision) value. This comment is an HDOP value during two-dimensional measurement and a PDOP value during three-dimensional measurement. Data type: RasterCommentMetadataDataType.URational. Length: 1.
GpsSpeedRef Unit for measuring speed. Possible values are "K" for kilometers, "M" for miles, and "N" for knots. Data type: RasterCommentMetadataDataType.Ascii. Length: 2.
GpsSpeed Speed of the GPS receiver. Data type: RasterCommentMetadataDataType.URational. Length: 1.
GpsTrackRef Reference for direction of movement. Possible values are "T" for a true direction and "M" for a magnetic. Data type: RasterCommentMetadataDataType.Ascii. Length: 2
GpsTrack Direction of GPS receiver movement. The range of values is 0.00 to 359.00. Data type: RasterCommentMetadataDataType.URational. Length: 1.
GpsImageDirectionRef Reference for the direction of photography in the recorded image. Possible values are "T" for a true direction and "M" for a magnetic. Data type: RasterCommentMetadataDataType.Ascii. Length: 2.
GpsImageDirection Direction of photography in the recorded image. The range of values is 0.00 to 359.00. Data type: RasterCommentMetadataDataType.URational. Length: 1.
GpsMapDatum Geodetic survey data used by the receiver. If the geodetic survey data is restricted to Japan, this tag value is " TOKYO " or "WGS-84". Data type: RasterCommentMetadataDataType.Ascii. Length: variable.
GpsDestinationLatitudeRef North or south latitude for the destination point. Possible values are "N" for north and "S" for south. Data type: RasterCommentMetadataDataType.Ascii. Length: 2.
GpsDestinationLatitude Latitude of the destination point. The latitude is expressed as three RasterCommentMetadataDataType.URationalvalues, indicating degrees, minutes and seconds. Data type: RasterCommentMetadataDataType.URational. Length: 3.
GpsDestinationLongitudeRef East or west longitude for the destination point. Possible values are "E" for east and "W" for west. Data type: RasterCommentMetadataDataType.Ascii. Length: 2.
GpsDestinationLongitude Longitude of the destination point. The longitude is expressed as three RasterCommentMetadataDataType.URationalvalues, indicating degrees, minutes and seconds. Data type: RasterCommentMetadataDataType.URational. Length: 3.
GpsDestinationBearingRef Reference for the bearing to the destination point. Possible values are "T" for a true direction and "M" for a magnetic. Data type: RasterCommentMetadataDataType.Ascii. Length: 2.
GpsDestinationBearing Bearing to the destination point. The range of values is 0.00 to 359.00. Data type: RasterCommentMetadataDataType.URational. Length: 1.
GpsDestinationDistanceRef Unit for measuring distance to the destination point. Possible values are "K" for kilometers, "M" for miles, and "N" for nautical miles. Data type: RasterCommentMetadataDataType.Ascii. Length: 2.
GpsDestinationDistance Distance to the destination point. Data type: RasterCommentMetadataDataType.URational. Length: 1.
GpsProcessingMethod Processing method. Data type: RasterCommentMetadataDataType.Byte. Length: Any.
GpsAreaInformation Area. Data type: RasterCommentMetadataDataType.Byte. Length: Any.
GpsDateStamp Date. Data type: SZ. Length: 11.
GpsDifferential Differential. Data type: Short. Length: 1.
Title Title of the image.
Disclaimer String containing the disclaimer of the software used to create the image.
Warning Warning statement associated with the software that created the image.
Misc Miscellaneous information.
Jpeg2000Binary JPEG 2000 binary comment.
Jpeg2000Latin JPEG 2000 Latin comment.
IptcFirst The first IPTC comment To get all IPTC comments, use the comment type constant as a loop counter. The first constant is RasterCommentMetadataType.IptcFirst and the last is RasterCommentMetadataType.IptcLast.
IptcVersion 2:0, the version of IPTC comments (read-only). Non-repeatable, (min=2 bytes, max=2). This is the only comment that is binary. The first byte is the lower version number (usually 0) and the second byte is the high version number (the current version is 4 - binary 4, not ascii '4'). LEADTOOLS writes 4 here.
IptcObjectTypeReference 2:3, Object type reference. Non repeatable. Length = 3..67.
IptcObjectAttributeReference 2:4, Object Attribute Reference. Repeatable. Length = 4..68.
IptcObjectName 2:5, Object name. Non repeatable. Length = 1..64.
IptcEditStatus 2:7, Edit status. Non repeatable. Length = 1..64.
IptcEditorialUpdate 2:8, Editorial update. Non repeatable. Length = 2..2.
IptcUrgency 2:10, Urgency. Non repeatable. '1' is most urgent, '5' = Normal, '8' is least urgent. Length = 1..1.
IptcSubjectReference 2:12, Subject reference. Repeatable. Length = 13..236.
IptcCategory 2:15, Category. Non repeatable. Length = 1..3.
IptcSupplementalCategory 2:20, Supplemental category. Repeatable. Length = 1..32.
IptcFixtureIdentifier 2:22, Fixture identifier. Non repeatable. Length = 1..32.
IptcKeywords 2:25, Keywords. Repeatable. Length = 1..64.
IptcContentLocationCode 2:26, Content location code. Repeatable. Length = 3..3.
IptcContentLocationName 2:27, Content location name. Repeatable. Length = 1..64.
IptcReleaseDate 2:30, Release date. Non repeatable. Length = 8..8.
IptcReleaseTime 2:35, Release time. Non repeatable. Length = 11..11.
IptcExpirationDate 2:37, Expiration date. Non repeatable. Length = 8..8.
IptcExpirationTime 2:38, Expiration time. Non repeatable. Length = 11..11.
IptcSpecialInstructions 2:40, Special instructions. Non repeatable. Length = 1..256.
IptcActionAdvised 2:42, Action advised. Non repeatable. Length = 2..2.
IptcReferenceService 2:45, Reference service. Repeatable. Length = 1..10.
IptcReferenceDate 2:47, Reference date. Repeatable. Length = 8..8.
IptcReferenceNumber 2:50, Reference number. Repeatable. Length = 8..8.
IptcDateCreated 2:55, Date created. Non repeatable. Length = 8..8.
IptcTimeCreated 2:60, Time created. Non repeatable. Length = 11..11.
IptcDigitalCreationDate 2:62, Digital creation date. Non repeatable. Length = 8..8.
IptcDigitalCreationTime 2:63, Digital creation time. Non repeatable. Length = 11..11.
IptcOriginatingProgram 2:65, Originating program. Non repeatable. Length = 1..32.
IptcProgramVersion 2:70, Program version. Non repeatable. Length = 1..10.
IptcObjectCycle 2:75, Object cycle. Non repeatable. Length = 1..1.
IptcByline 2:80, By-line. Repeatable. Length = 1..32.
IptcBylineTitle 2:85, By-line title. Repeatable. Length = 1..32.
IptcCity 2:90, City Non repeatable. Length = 1..32.
IptcSubLocation 2:92, Sub-location. Non repeatable. Length = 1..32.
IptcProvinceState 2:95, Province/State. Non repeatable. Length = 1..32.
IptcPrimaryLocationCode 2:100, Country/Primary location code. Non repeatable. Length = 3..3.
IptcPrimaryLocationName 2:101, Country/Primary location name. Non repeatable. Length = 1..64.
IptcOriginalTransmissionReference 2:103, Original transmission reference. Non repeatable. Length = 1..32.
IptcHeadline 2:105, Headline. Non repeatable. Length = 1..256.
IptcCredit 2:110, Credit. Non repeatable. Length = 1..32.
IptcSource 2:115, Source. Non repeatable. Length = 1..32.
IptcCopyright 2:116, Copyright Notice. Non repeatable. Length = 1..128.
IptcContact 2:118, Contact. Repeatable. Length = 1..128.
IptcCaption 2:120, Caption/Abstract. Non repeatable. Length = 1..2000.
IptcAuthor 2:122, Writer/Editor. Repeatable. Length = 1..32.
IptcLanguageIdentifier 2:135, Language identifier. Non repeatable. Length = 2..3.
IptcLast The last IPTC comment.

Remarks

When reading or updating Exif comments, you must specify the comment type. Comment fields are constrained by their Exif data type.

All Exif files (TIFF and JPG) can contain the designated TIFF comments. Each TIFF comment field can contain a character string. The maximum field size is 32K, except for the date-time field, which is always 20.

For more information, refer to GIF File Comments.

For more information, refer to PNG File Comments.

For more information, refer to TIFF File Comments.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.RasterCommentMetadataType

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also