Specifications
Returns the requested statistic as a date-time.
getDate( query : String ) : Date
Data type conversions
DateBooleanNumberStringStatistic data
type
Interpret ISO
8601 date-time
representation
Interpret as
in the XMP
data model
Decimal number
representation
StraightforwardString
Not supportedFalse if zero;
true if
nonzero
StraightforwardDecimal representation of the
number
Integer
Not supportedFalse if zero;
true if
nonzero
StraightforwardDecimal floating point
representation of the number
Rational
Not supportedStraightforward1 or 0“true” or “false”Boolean
StraightforwardNot
supported
Not supportedISO 8601 representation of the
date-time
Date
A string list is converted to another data type by converting the first string in the list (if the list
is empty, the conversion is not supported). Any other data type is converted to a string list by
converting it to a string and forming a list of one item.
Supported statistics
DescriptionSupported forData typeStatistic name
The number of pages in the document (or
a value of one if the format doesn’t
support multiple pages)
All formatsIntegerNumberOfPages
Number of components per pixelJPEG, TIFF,
PNG
IntegerSamplesPerPixel
Valid image width, in pixelsJPEG, TIFF,
PNG
IntegerPixelXDimension
Valid image height, in pixelsJPEG, TIFF,
PNG
IntegerPixelYDimension
The color mode used: 0 = Bitmap; 1 =
Gray; 2 = Indexed color; 3 = RGB; 4 =
JPEG, TIFF,
PNG
IntegerColorMode
CMYK; 7 = Multichannel; 8 = Duotone; 9
= Lab color
Color space information: 1 = sRGB; 65535
= uncalibrated
JPEG, TIFF,
PNG
IntegerColorSpace
489
Enfocus Switch 10