ExifMetadata class

Constructors

ExifMetadata(double? imageWidth, double? imageLength, int? bitsPerSample, int? compression, int? photometricInterpretation, int? orientation, int? samplesPerPixel, int? planarConfiguration, int? ycbCrSubSampling, int? ycbCrPositioning, double? xResolution, double? yResolution, int? resolutionUnit, double? stripOffsets, double? rowsPerStrip, double? stripByteCounts, double? jpegInterchangeFormat, double? jpegInterchangeFormatLength, int? transferFunction, double? whitePoint, double? primaryChromaticities, double? ycbCrCoefficients, double? referenceBlackWhite, String? dateTime, String? imageDescription, String? artist, String? copyright, String? exifVersion, String? flashpixVersion, int? colorSpace, double? gamma, double? pixelXDimension, double? pixelYDimension, String? componentsConfiguration, double? compressedBitsPerPixel, String? userComment, String? relatedSoundFile, String? dateTimeOriginal, String? dateTimeDigitized, String? subSecTime, String? subSecTimeOriginal, String? subSecTimeDigitized, double? exposureTime, double? fNumber, int? exposureProgram, String? spectralSensitivity, int? photographicSensitivity, String? oecf, int? sensitivityType, double? standardOutputSensitivity, double? recommendedExposureIndex, double? isoSpeed, double? isoSpeedLatitudeyyy, double? isoSpeedLatitudezzz, double? shutterSpeedValue, double? apertureValue, double? brightnessValue, double? exposureBiasValue, double? maxApertureValue, double? subjectDistance, int? meteringMode, int? lightSource, int? flash, List<int?>? subjectArea, double? focalLength, double? flashEnergy, String? spatialFrequencyResponse, double? focalPlaneXResolution, double? focalPlaneYResolution, int? focalPlaneResolutionUnit, int? subjectLocation, double? exposureIndex, int? sensingMethod, String? fileSource, String? sceneType, String? cfaPattern, int? customRendered, int? exposureMode, int? whiteBalance, double? digitalZoomRatio, int? focalLengthIn35mmFilm, int? sceneCaptureType, int? gainControl, int? contrast, int? saturation, int? sharpness, String? deviceSettingDescription, int? subjectDistanceRange, String? imageUniqueID)
ExifMetadata.fromMap(Map json)

Properties

apertureValue double?
The lens aperture. The unit is the APEX value.
final
artist String?
This tag records the name of the camera owner, photographer or image creator. The detailed format is not specified, but it is recommended that the information be written as in the example below for ease of Interoperability. When the field is left blank, it is treated as unknown.
final
bitsPerSample int?
The number of bits per image component. In this standard each component of the image is 8 bits, so the value for this tag is 8. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it
final
brightnessValue double?
The value of brightness. The unit is the APEX value. Ordinarily it is given in the range of -99.99 to 99.99. Note that if the numerator of the recorded value is 0xFFFFFFFF, Unknown shall be indicated.
final
cfaPattern String?
Indicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. It does not apply to all sensing methods.
final
colorSpace int?
The color space information tag is always recorded as the color space specifier. Normally {@link #COLOR_SPACE_S_RGB} is used to define the color space based on the PC monitor conditions and environment. If a color space other than {@link #COLOR_SPACE_S_RGB} is used, {@link #COLOR_SPACE_UNCALIBRATED} is set. Image data recorded as {@link #COLOR_SPACE_UNCALIBRATED} may be treated as {@link #COLOR_SPACE_S_RGB} when it is converted to Flashpix
final
componentsConfiguration String?
Information specific to compressed data. The channels of each component are arranged in order from the 1st component to the 4th. For uncompressed data the data arrangement is given in the {@link #TAG_PHOTOMETRIC_INTERPRETATION}. However, since {@link #TAG_PHOTOMETRIC_INTERPRETATION} can only express the order of Y, Cb and Cr, this tag is provided for cases when compressed data uses components other than Y, Cb, and Cr and to enable support of other sequences.
final
compressedBitsPerPixel double?
Information specific to compressed data. The compression mode used for a compressed image is indicated in unit bits per pixel.
final
compression int?
The compression scheme used for the image data. When a primary image is JPEG compressed, this designation is not necessary. So, this tag shall not be recorded. When thumbnails use JPEG compression, this tag value is set to 6.
final
contrast int?
This tag indicates the direction of contrast processing applied by the camera when the image was shot.
final
Copyright information. In this standard the tag is used to indicate both the photographer and editor copyrights. It is the copyright notice of the person or organization claiming rights to the image. The Interoperability copyright statement including date and rights should be written in this field; e.g., "Copyright, John Smith, 19xx. All rights reserved." In this standard the field records both the photographer and editor copyrights, with each recorded in a separate part of the statement. When there is a clear distinction between the photographer and editor copyrights, these are to be written in the order of photographer followed by editor copyright, separated by NULL (in this case, since the statement also ends with a NULL, there are two NULL codes) (see example 1). When only the photographer copyright is given, it is terminated by one NULL code (see example 2). When only the editor copyright is given, the photographer copyright part consists of one space followed by a terminating NULL code, then the editor copyright is given (see example 3). When the field is left blank, it is treated as unknown.
final
customRendered int?
This tag indicates the use of special processing on image data, such as rendering geared to output. When special processing is performed, the Exif/DCF reader is expected to disable or minimize any further processing.
final
dateTime String?
The date and time of image creation. In this standard it is the date and time the file was changed. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character ({@code 0x20}). When the date and time are unknown, all the character spaces except colons (":") should be filled with blank characters, or else the Interoperability field should be filled with blank characters. The character string length is 20 Bytes including NULL for termination. When the field is left blank, it is treated as unknown.
final
dateTimeDigitized String?
The date and time when the image was stored as digital data. If, for example, an image was captured by DSC and at the same time the file was recorded, then {@link #TAG_DATETIME_ORIGINAL} and this tag will have the same contents. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character ({@code 0x20}). When the date and time are unknown, all the character spaces except colons (":")should be filled with blank characters, or else the Interoperability field should be filled with blank characters. When the field is left blank, it is treated as unknown.
final
dateTimeOriginal String?
The date and time when the original image data was generated. For a DSC the date and time the picture was taken are recorded. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character ({@code 0x20}). When the date and time are unknown, all the character spaces except colons (":") should be filled with blank characters, or else the Interoperability field should be filled with blank characters. When the field is left blank, it is treated as unknown.
final
deviceSettingDescription String?
This tag indicates information on the picture-taking conditions of a particular camera model. The tag is used only to indicate the picture-taking conditions in the Exif/DCF reader.
final
digitalZoomRatio double?
This tag indicates the digital zoom ratio when the image was shot. If the numerator of the recorded value is 0, this indicates that digital zoom was not used.
final
exifVersion String?
The version of this standard supported. Nonexistence of this field is taken to mean nonconformance to the standard. In according with conformance to this standard, this tag shall be recorded like "0230” as 4-byte ASCII.
final
exposureBiasValue double?
The exposure bias. The unit is the APEX value. Ordinarily it is given in the range of -99.99 to 99.99.
final
exposureIndex double?
Indicates the exposure index selected on the camera or input device at the time the image is captured.
final
exposureMode int?
This tag indicates the exposure mode set when the image was shot. In {@link #EXPOSURE_MODE_AUTO_BRACKET}, the camera shoots a series of frames of the same scene at different exposure settings.
final
exposureProgram int?
The class of the program used by the camera to set exposure when the picture is taken. The tag values are as follows.
final
exposureTime double?
Exposure time, given in seconds.
final
fileSource String?
Indicates the image source. If a DSC recorded the image, this tag value always shall be set to {@link #FILE_SOURCE_DSC}.
final
flash int?
This tag indicates the status of flash when the image was shot. Bit 0 indicates the flash firing status, bits 1 and 2 indicate the flash return status, bits 3 and 4 indicate the flash mode, bit 5 indicates whether the flash function is present, and bit 6 indicates "red eye" mode.
final
flashEnergy double?
Indicates the strobe energy at the time the image is captured, as measured in Beam Candle Power Seconds (BCPS).
final
flashpixVersion String?
The Flashpix format version supported by a FPXR file. If the FPXR function supports Flashpix format Ver. 1.0, this is indicated similarly to {@link #TAG_EXIF_VERSION} by recording "0100" as 4-byte ASCII.
final
fNumber double?
The F number.
final
focalLength double?
The actual focal length of the lens, in mm. Conversion is not made to the focal length of a 35mm film camera.
final
focalLengthIn35mmFilm int?
This tag indicates the equivalent focal length assuming a 35mm film camera, in mm. A value of 0 means the focal length is unknown. Note that this tag differs from {@link #TAG_FOCAL_LENGTH}.
final
focalPlaneResolutionUnit int?
Indicates the unit for measuring {@link #TAG_FOCAL_PLANE_X_RESOLUTION} and {@link #TAG_FOCAL_PLANE_Y_RESOLUTION}. This value is the same as {@link #TAG_RESOLUTION_UNIT}.
final
focalPlaneXResolution double?
Indicates the number of pixels in the image width (X) direction per {@link #TAG_FOCAL_PLANE_RESOLUTION_UNIT} on the camera focal plane.
final
focalPlaneYResolution double?
Indicates the number of pixels in the image height (Y) direction per {@link #TAG_FOCAL_PLANE_RESOLUTION_UNIT} on the camera focal plane.
final
gainControl int?
This tag indicates the degree of overall image gain adjustment.
final
gamma double?
Indicates the value of coefficient gamma. The formula of transfer function used for image reproduction is expressed as follows.
final
hashCode int
The hash code for this object.
no setterinherited
imageDescription String?
An ASCII string giving the title of the image. It is possible to be added a comment such as "1988 company picnic" or the like. Two-byte character codes cannot be used. When a 2-byte code is necessary, {@link #TAG_USER_COMMENT} is to be used.
final
imageLength double?
The number of rows of image data. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it.
final
imageUniqueID String?
This tag indicates an identifier assigned uniquely to each image. It is recorded as an ASCII string equivalent to hexadecimal notation and 128-bit fixed length.
final
imageWidth double?
The number of columns of image data, equal to the number of pixels per row. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it
final
isoSpeed double?
This tag indicates the ISO speed value of a camera or input device that is defined in ISO 12232. When recording this tag, {@link #TAG_PHOTOGRAPHIC_SENSITIVITY} and {@link #TAG_SENSITIVITY_TYPE} shall also be recorded.
final
isoSpeedLatitudeyyy double?
This tag indicates the ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232. However, this tag shall not be recorded without {@link #TAG_ISO_SPEED} and {@link #TAG_ISO_SPEED_LATITUDE_ZZZ}.
final
isoSpeedLatitudezzz double?
This tag indicates the ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232. However, this tag shall not be recorded without {@link #TAG_ISO_SPEED} and {@link #TAG_ISO_SPEED_LATITUDE_YYY}.
final
jpegInterchangeFormat double?
The offset to the start byte (SOI) of JPEG compressed thumbnail data. This shall not be used for primary image JPEG data.
final
jpegInterchangeFormatLength double?
The number of bytes of JPEG compressed thumbnail data. This is not used for primary image JPEG data. JPEG thumbnails are not divided but are recorded as a continuous JPEG bitstream from SOI to EOI. APPn and COM markers should not be recorded. Compressed thumbnails shall be recorded in no more than 64 KBytes, including all other data to be recorded in APP1.
final
lightSource int?
The kind of light source.
final
maxApertureValue double?
The smallest F number of the lens. The unit is the APEX value. Ordinarily it is given in the range of 00.00 to 99.99, but it is not limited to this range.
final
meteringMode int?
The metering mode.
final
oecf String?
Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524. OECF is the relationship between the camera optical input and the image values.
final
orientation int?
The image orientation viewed in terms of rows and columns.
final
photographicSensitivity int?
This tag indicates the sensitivity of the camera or input device when the image was shot. More specifically, it indicates one of the following values that are parameters defined in ISO 12232: standard output sensitivity (SOS), recommended exposure index (REI), or ISO speed. Accordingly, if a tag corresponding to a parameter that is designated by {@link #TAG_SENSITIVITY_TYPE} is recorded, the values of the tag and of this tag are the same. However, if the value is 65535 or higher, the value of this tag shall be 65535. When recording this tag, {@link #TAG_SENSITIVITY_TYPE} should also be recorded. In addition, while “Count = Any”, only 1 count should be used when recording this tag.
final
photometricInterpretation int?
The pixel composition. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it.
final
pixelXDimension double?
Information specific to compressed data. When a compressed file is recorded, the valid width of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. This tag shall not exist in an uncompressed file.
final
pixelYDimension double?
Information specific to compressed data. When a compressed file is recorded, the valid height of the meaningful image shall be recorded in this tag, whether or not there is padding data or a restart marker. This tag shall not exist in an uncompressed file. Since data padding is unnecessary in the vertical direction, the number of lines recorded in this valid image height tag will in fact be the same as that recorded in the SOF.
final
planarConfiguration int?
Indicates whether pixel components are recorded in chunky or planar format. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it. If this field does not exist, the TIFF default, {@link #FORMAT_CHUNKY}, is assumed.
final
primaryChromaticities double?
The chromaticity of the three primary colors of the image. Normally this tag need not be used, since color space is specified in {@link #TAG_COLOR_SPACE}.
final
recommendedExposureIndex double?
This tag indicates the recommended exposure index value of a camera or input device defined in ISO 12232. When recording this tag, {@link #TAG_PHOTOGRAPHIC_SENSITIVITY} and {@link #TAG_SENSITIVITY_TYPE} shall also be recorded.
final
referenceBlackWhite double?
The reference black point value and reference white point value. No defaults are given in TIFF, but the values below are given as defaults here. The color space is declared in a color space information tag, with the default being the value that gives the optimal image characteristics Interoperability these conditions
final
relatedSoundFile String?
This tag is used to record the name of an audio file related to the image data. The only relational information recorded here is the Exif audio file name and extension (an ASCII string consisting of 8 characters + '.' + 3 characters). The path is not recorded.
final
resolutionUnit int?
The unit for measuring {@link #TAG_X_RESOLUTION} and {@link #TAG_Y_RESOLUTION}. The same unit is used for both {@link #TAG_X_RESOLUTION} and {@link #TAG_Y_RESOLUTION}. If the image resolution is unknown, {@link #RESOLUTION_UNIT_INCHES} shall be designated.
final
rowsPerStrip double?
The number of rows per strip. This is the number of rows in the image of one strip when an image is divided into strips. In the case of JPEG compressed data, this designation is not necessary. So, this tag shall not be recorded.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samplesPerPixel int?
The number of components per pixel. Since this standard applies to RGB and YCbCr images, the value set for this tag is 3. In JPEG compressed data, this tag shall not be used because a JPEG marker is used instead of it.
final
saturation int?
This tag indicates the direction of saturation processing applied by the camera when the image was shot.
final
sceneCaptureType int?
This tag indicates the type of scene that was shot. It may also be used to record the mode in which the image was shot. Note that this differs from {@link #TAG_SCENE_TYPE}.
final
sceneType String?
Indicates the type of scene. If a DSC recorded the image, this tag value shall always be set to {@link #SCENE_TYPE_DIRECTLY_PHOTOGRAPHED}.
final
sensingMethod int?
Indicates the image sensor type on the camera or input device.
final
sensitivityType int?
This tag indicates which one of the parameters of ISO12232 is {@link #TAG_PHOTOGRAPHIC_SENSITIVITY}. Although it is an optional tag, it should be recorded when {@link #TAG_PHOTOGRAPHIC_SENSITIVITY} is recorded.
final
sharpness int?
This tag indicates the direction of sharpness processing applied by the camera when the image was shot.
final
shutterSpeedValue double?
Shutter speed. The unit is the APEX setting.
final
spatialFrequencyResponse String?
This tag records 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.
final
spectralSensitivity String?
Indicates the spectral sensitivity of each channel of the camera used. The tag value is an ASCII string compatible with the standard developed by the ASTM Technical committee.
final
standardOutputSensitivity double?
This tag indicates the standard output sensitivity value of a camera or input device defined in ISO 12232. When recording this tag, {@link #TAG_PHOTOGRAPHIC_SENSITIVITY} and {@link #TAG_SENSITIVITY_TYPE} shall also be recorded.
final
stripByteCounts double?
The total number of bytes in each strip. In the case of JPEG compressed data, this designation is not necessary. So, this tag shall not be recorded.
final
stripOffsets double?
For each strip, the byte offset of that strip. It is recommended that this be selected so the number of strip bytes does not exceed 64 KBytes.In the case of JPEG compressed data, this designation is not necessary. So, this tag shall not be recorded.
final
subjectArea List<int?>?
This tag indicates the location and area of the main subject in the overall scene.
final
subjectDistance double?
The distance to the subject, given in meters. Note that if the numerator of the recorded value is 0xFFFFFFFF, Infinity shall be indicated; and if the numerator is 0, Distance unknown shall be indicated.
final
subjectDistanceRange int?
This tag indicates the distance to the subject.
final
subjectLocation int?
Indicates the location of the main subject in the scene. The value of this tag represents the pixel at the center of the main subject relative to the left edge, prior to rotation processing as per {@link #TAG_ORIENTATION}. The first value indicates the X column number and second indicates the Y row number. When a camera records the main subject location, it is recommended that {@link #TAG_SUBJECT_AREA} be used instead of this tag.
final
subSecTime String?
A tag used to record fractions of seconds for {@link #TAG_DATETIME}.
final
subSecTimeDigitized String?
A tag used to record fractions of seconds for {@link #TAG_DATETIME_DIGITIZED}.
final
subSecTimeOriginal String?
A tag used to record fractions of seconds for {@link #TAG_DATETIME_ORIGINAL}.
final
transferFunction int?
A transfer function for the image, described in tabular style. Normally this tag need not be used, since color space is specified in {@link #TAG_COLOR_SPACE}.
final
userComment String?
A tag for Exif users to write keywords or comments on the image besides those in {@link #TAG_IMAGE_DESCRIPTION}, and without the character code limitations of it.
final
whiteBalance int?
This tag indicates the white balance mode set when the image was shot.
final
whitePoint double?
The chromaticity of the white point of the image. Normally this tag need not be used, since color space is specified in {@link #TAG_COLOR_SPACE}.
final
xResolution double?
The number of pixels per {@link #TAG_RESOLUTION_UNIT} in the {@link #TAG_IMAGE_WIDTH} direction. When the image resolution is unknown, 72 dpi shall be designated.
final
ycbCrCoefficients double?
The matrix coefficients for transformation from RGB to YCbCr image data. About the default value, please refer to JEITA CP-3451C Spec, Annex D.
final
ycbCrPositioning int?
The position of chrominance components in relation to the luminance component. This field is designated only for JPEG compressed data or uncompressed YCbCr data. The TIFF default is {@link #Y_CB_CR_POSITIONING_CENTERED}; but when Y:Cb:Cr = 4:2:2 it is recommended in this standard that {@link #Y_CB_CR_POSITIONING_CO_SITED} be used to record data, in order to improve the image quality when viewed on TV systems. When this field does not exist, the reader shall assume the TIFF default. In the case of Y:Cb:Cr = 4:2:0, the TIFF default ({@link #Y_CB_CR_POSITIONING_CENTERED}) is recommended. If the Exif/DCF reader does not have the capability of supporting both kinds of positioning, it shall follow the TIFF default regardless of the value in this field. It is preferable that readers can support both centered and co-sited positioning.
final
ycbCrSubSampling int?
The sampling ratio of chrominance components in relation to the luminance component. In JPEG compressed data a JPEG marker is used instead of this tag. So, this tag shall not be recorded.
final
yResolution double?
The number of pixels per {@link #TAG_RESOLUTION_UNIT} in the {@link #TAG_IMAGE_WIDTH} direction. The same value as {@link #TAG_X_RESOLUTION} shall be designated.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited