Coder Social home page Coder Social logo

Comments (10)

as27 avatar as27 commented on May 1, 2024

What is to do here?

from photoprism.

lastzero avatar lastzero commented on May 1, 2024

Compare the data we already have with what others index / display. For example flash is not indexed right now. ISO and color space as well. For the data it would be awesome to know the time zone to display it properly.

from photoprism.

lastzero avatar lastzero commented on May 1, 2024

And then of course test it with real files, do some code-clean up and documentation.

from photoprism.

IssueHuntBot avatar IssueHuntBot commented on May 1, 2024

@issuehuntfest has funded $20.00 to this issue. See it on IssueHunt

from photoprism.

jkschoen avatar jkschoen commented on May 1, 2024

This may or may not be of use, but here is the data on what photoprism vs goexif vs exif standard has defined. Plus at the very bottom of this long post what the actual data types are defined as.

Photoprism Supported

EXIF Field Type goexif Description
Exif.Image.Model Ascii Model The model name or model number of the equipment. This is the model name or number of the DSC, scanner, video digitizer or other equipment that generated the image. When the field is left blank, it is treated as unknown.
Exif.Image.Orientation Short Orientation The image orientation viewed in terms of rows and columns.
Exif.Image.Artist Ascii Artist 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. Ex.) "Camera owner, John Smith; Photographer, Michael Brown; Image creator, Ken James"
Exif.Image.ApertureValue Rational ApertureValue The lens aperture.
Exif.Image.FocalLength Rational FocalLength The actual focal length of the lens, in mm.
Exif.Photo.ImageUniqueID Ascii ImageUniqueID This tag indicates an identifier assigned uniquely to each image. It is recorded as an
Exif.Photo.LensMake Ascii LensMake This tag records the lens manufactor as an
Exif.Photo.LensModel Ascii LensModel This tag records the lens's model name and model number as an
Exif.Image.ImageWidth Long ImageWidth The number of columns of image data, equal to the number of pixels per row. In JPEG compressed data a JPEG marker is used instead of this tag.
Exif.Image.ImageLength Long ImageLength The number of rows of image data. In JPEG compressed data a JPEG marker is used instead of this tag.

Goexif Supported

The following fields are supported by goexif already and shouldn't be to difficult to pull in.
There are 3 additional fields in goexit that are not part of the spec:

  • ExifIFDPointer
  • GPSSatelites
  • InteroperabilityIFDPointer
EXIF Field Type goexif Description
Exif.Image.BitsPerSample Short BitsPerSample 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. See also . In JPEG compressed data a JPEG marker is used instead of this tag.
Exif.Image.Compression Short Compression The compression scheme used for the image data. When a primary image is JPEG compressed, this designation is not necessary and is omitted. When thumbnails use JPEG compression, this tag value is set to 6.
Exif.Image.PhotometricInterpretation Short PhotometricInterpretation The pixel composition. In JPEG compressed data a JPEG marker is used instead of this tag.
Exif.Image.ImageDescription Ascii ImageDescription A character string giving the title of the image. It may be a comment such as "1988 company picnic" or the like. Two-bytes character codes cannot be used. When a 2-bytes code is necessary, the Exif Private tag is to be used.
Exif.Image.Make Ascii Make The manufacturer of the recording equipment. This is the manufacturer of the DSC, scanner, video digitizer or other equipment that generated the image. When the field is left blank, it is treated as unknown.
Exif.Image.SamplesPerPixel Short SamplesPerPixel 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 a JPEG marker is used instead of this tag.
Exif.Image.XResolution Rational XResolution The number of pixels per in the direction. When the image resolution is unknown, 72 [dpi] is designated.
Exif.Image.YResolution Rational YResolution The number of pixels per in the direction. The same value as is designated.
Exif.Image.PlanarConfiguration Short PlanarConfiguration Indicates whether pixel components are recorded in a chunky or planar format. In JPEG compressed files a JPEG marker is used instead of this tag. If this field does not exist, the TIFF default of 1 (chunky) is assumed.
Exif.Image.ResolutionUnit Short ResolutionUnit The unit for measuring and . The same unit is used for both and . If the image resolution is unknown, 2 (inches) is designated.
Exif.Image.Software Ascii Software This tag records the name and version of the software or firmware of the camera or image input device used to generate the image. The detailed format is not specified, but it is recommended that the example shown below be followed. When the field is left blank, it is treated as unknown.
Exif.Image.DateTime Ascii DateTime The date and time of image creation. In Exif standard, it is the date and time the file was changed.
Exif.Image.YCbCrSubSampling Short YCbCrSubSampling 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.
Exif.Image.YCbCrPositioning Short YCbCrPositioning 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 1 (centered); but when Y:Cb:Cr = 4:2:2 it is recommended in this standard that 2 (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 (centered) is recommended. If the reader does not have the capability of supporting both kinds of , it shall follow the TIFF default regardless of the value in this field. It is preferable that readers be able to support both centered and co-sited positioning.
Exif.Image.Copyright Ascii Copyright 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). When only the photographer copyright is given, it is terminated by one NULL code. 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. When the field is left blank, it is treated as unknown.
Exif.Image.ExposureTime Rational ExposureTime Exposure time, given in seconds.
Exif.Image.FNumber Rational FNumber The F number.
Exif.Image.ExposureProgram Short ExposureProgram The class of the program used by the camera to set exposure when the picture is taken.
Exif.Image.SpectralSensitivity Ascii SpectralSensitivity Indicates the spectral sensitivity of each channel of the camera used.
Exif.Image.ISOSpeedRatings Short ISOSpeedRatings Indicates the ISO Speed and ISO Latitude of the camera or input device as specified in ISO 12232.
Exif.Image.OECF Undefined OECF Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524.
Exif.Image.CompressedBitsPerPixel Rational CompressedBitsPerPixel Specific to compressed data; states the compressed bits per pixel.
Exif.Image.ShutterSpeedValue Rational ShutterSpeedValue Shutter speed.
Exif.Image.BrightnessValue Rational BrightnessValue The value of brightness.
Exif.Image.ExposureBiasValue Rational ExposureBiasValue The exposure bias.
Exif.Image.MaxApertureValue Rational MaxApertureValue The smallest F number of the lens.
Exif.Image.SubjectDistance Rational SubjectDistance The distance to the subject, given in meters.
Exif.Image.MeteringMode Short MeteringMode The metering mode.
Exif.Image.LightSource Short LightSource The kind of light source.
Exif.Image.Flash Short Flash Indicates the status of flash when the image was shot.
Exif.Image.FlashEnergy Rational FlashEnergy Amount of flash energy (BCPS).
Exif.Photo.ExifVersion Undefined ExifVersion The version of this standard supported. Nonexistence of this field is taken to mean nonconformance to the standard.
Exif.Photo.DateTimeOriginal Ascii DateTimeOriginal The date and time when the original image data was generated. For a digital still camera the date and time the picture was taken are recorded.
Exif.Photo.DateTimeDigitized Ascii DateTimeDigitized The date and time when the image was stored as digital data.
Exif.Photo.ComponentsConfiguration Undefined ComponentsConfiguration 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 tag. However, since 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.
Exif.Photo.SubjectArea Short SubjectArea This tag indicates the location and area of the main subject in the overall scene.
Exif.Photo.MakerNote Undefined MakerNote A tag for manufacturers of Exif writers to record any desired information. The contents are up to the manufacturer.
Exif.Photo.UserComment Comment UserComment A tag for Exif users to write keywords or comments on the image besides those in , and without the character code limitations of the tag.
Exif.Photo.SubSecTime Ascii SubSecTime A tag used to record fractions of seconds for the tag.
Exif.Photo.SubSecTimeOriginal Ascii SubSecTimeOriginal A tag used to record fractions of seconds for the tag.
Exif.Photo.SubSecTimeDigitized Ascii SubSecTimeDigitized A tag used to record fractions of seconds for the tag.
Exif.Photo.FlashpixVersion Undefined FlashpixVersion The FlashPix format version supported by a FPXR file.
Exif.Photo.ColorSpace Short ColorSpace The color space information tag is always recorded as the color space specifier. Normally sRGB is used to define the color space based on the PC monitor conditions and environment. If a color space other than sRGB is used, Uncalibrated is set. Image data recorded as Uncalibrated can be treated as sRGB when it is converted to FlashPix.
Exif.Photo.PixelXDimension Long PixelXDimension Information specific to compressed data. When a compressed file is recorded, the valid width of the meaningful image must be recorded in this tag, whether or not there is padding data or a restart marker. This tag should not exist in an uncompressed file.
Exif.Photo.PixelYDimension Long PixelYDimension Information specific to compressed data. When a compressed file is recorded, the valid height of the meaningful image must be recorded in this tag, whether or not there is padding data or a restart marker. This tag should 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.
Exif.Photo.RelatedSoundFile Ascii RelatedSoundFile 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
Exif.Photo.SpatialFrequencyResponse Undefined SpatialFrequencyResponse 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.
Exif.Photo.FocalPlaneXResolution Rational FocalPlaneXResolution Indicates the number of pixels in the image width (X) direction per on the camera focal plane.
Exif.Photo.FocalPlaneYResolution Rational FocalPlaneYResolution Indicates the number of pixels in the image height (V) direction per on the camera focal plane.
Exif.Photo.FocalPlaneResolutionUnit Short FocalPlaneResolutionUnit Indicates the unit for measuring and . This value is the same as the .
Exif.Photo.SubjectLocation Short SubjectLocation 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 the tag. The first value indicates the X column number and second indicates the Y row number.
Exif.Photo.ExposureIndex Rational ExposureIndex Indicates the exposure index selected on the camera or input device at the time the image is captured.
Exif.Photo.SensingMethod Short SensingMethod Indicates the image sensor type on the camera or input device.
Exif.Photo.FileSource Undefined FileSource Indicates the image source. If a DSC recorded the image, this tag value of this tag always be set to 3, indicating that the image was recorded on a DSC.
Exif.Photo.SceneType Undefined SceneType Indicates the type of scene. If a DSC recorded the image, this tag value must always be set to 1, indicating that the image was directly photographed.
Exif.Photo.CFAPattern Undefined CFAPattern 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.
Exif.Photo.CustomRendered Short CustomRendered This tag indicates the use of special processing on image data, such as rendering geared to output. When special processing is performed, the reader is expected to disable or minimize any further processing.
Exif.Photo.ExposureMode Short ExposureMode This tag indicates the 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.
Exif.Photo.WhiteBalance Short WhiteBalance This tag indicates the white balance mode set when the image was shot.
Exif.Photo.DigitalZoomRatio Rational DigitalZoomRatio 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.
Exif.Photo.FocalLengthIn35mmFilm Short FocalLengthIn35mmFilm 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 the tag.
Exif.Photo.SceneCaptureType Short SceneCaptureType This tag indicates the 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 tag.
Exif.Photo.GainControl Short GainControl This tag indicates the degree of overall image gain adjustment.
Exif.Photo.Contrast Short Contrast This tag indicates the direction of contrast processing applied by the camera when the image was shot.
Exif.Photo.Saturation Short Saturation This tag indicates the direction of saturation processing applied by the camera when the image was shot.
Exif.Photo.Sharpness Short Sharpness This tag indicates the direction of sharpness processing applied by the camera when the image was shot.
Exif.Photo.DeviceSettingDescription Undefined DeviceSettingDescription 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 reader.
Exif.Photo.SubjectDistanceRange Short SubjectDistanceRange This tag indicates the distance to the subject.
Exif.GPSInfo.GPSVersionID Byte GPSVersionID Indicates the version of . The version is given as 2.0.0.0. This tag is mandatory when tag is present. (Note: The tag is given in bytes, unlike the tag. When the version is 2.0.0.0, the tag value is 02000000.H).
Exif.GPSInfo.GPSLatitudeRef Ascii GPSLatitudeRef Indicates whether the latitude is north or south latitude. The
Exif.GPSInfo.GPSLatitude Rational GPSLatitude Indicates the latitude. The latitude is expressed as three
Exif.GPSInfo.GPSLongitudeRef Ascii GPSLongitudeRef Indicates whether the longitude is east or west longitude. ASCII 'E' indicates east longitude, and 'W' is west longitude.
Exif.GPSInfo.GPSLongitude Rational GPSLongitude Indicates the longitude. The longitude is expressed as three RATIONAL values giving the degrees, minutes, and seconds, respectively. When degrees, minutes and seconds are expressed, the format is ddd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format is ddd/1,mmmm/100,0/1.
Exif.GPSInfo.GPSAltitudeRef Byte GPSAltitudeRef Indicates the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given. If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in the GSPAltitude tag. The reference unit is meters. Note that this tag is BYTE type, unlike other reference tags.
Exif.GPSInfo.GPSAltitude Rational GPSAltitude Indicates the altitude based on the reference in GPSAltitudeRef. Altitude is expressed as one
Exif.GPSInfo.GPSTimeStamp Rational GPSTimeStamp Indicates the time as UTC (Coordinated Universal Time). is expressed as three
Exif.GPSInfo.GPSStatus Ascii GPSStatus Indicates the status of the GPS receiver when the image is recorded. "A" means measurement is in progress, and "V" means the measurement is Interoperability.
Exif.GPSInfo.GPSMeasureMode Ascii GPSMeasureMode Indicates the GPS measurement mode. "2" means two-dimensional measurement and "3" means three-dimensional measurement is in progress.
Exif.GPSInfo.GPSDOP Rational GPSDOP Indicates the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement.
Exif.GPSInfo.GPSSpeedRef Ascii GPSSpeedRef Indicates the unit used to express the GPS receiver speed of movement. "K" "M" and "N" represents kilometers per hour, miles per hour, and knots.
Exif.GPSInfo.GPSSpeed Rational GPSSpeed Indicates the speed of GPS receiver movement.
Exif.GPSInfo.GPSTrackRef Ascii GPSTrackRef Indicates the reference for giving the direction of GPS receiver movement. "T" denotes true direction and "M" is magnetic direction.
Exif.GPSInfo.GPSTrack Rational GPSTrack Indicates the direction of GPS receiver movement. The range of values is from 0.00 to 359.99.
Exif.GPSInfo.GPSImgDirectionRef Ascii GPSImgDirectionRef Indicates the reference for giving the direction of the image when it is captured. "T" denotes true direction and "M" is magnetic direction.
Exif.GPSInfo.GPSImgDirection Rational GPSImgDirection Indicates the direction of the image when it was captured. The range of values is from 0.00 to 359.99.
Exif.GPSInfo.GPSMapDatum Ascii GPSMapDatum Indicates the geodetic survey data used by the GPS receiver. If the survey data is restricted to Japan, the value of this tag is "TOKYO" or "WGS-84".
Exif.GPSInfo.GPSDestLatitudeRef Ascii GPSDestLatitudeRef Indicates whether the latitude of the destination point is north or south latitude. The
Exif.GPSInfo.GPSDestLatitude Rational GPSDestLatitude Indicates the latitude of the destination point. The latitude is expressed as three
Exif.GPSInfo.GPSDestLongitude Rational GPSDestLongitude Indicates the longitude of the destination point. The longitude is expressed as three RATIONAL values giving the degrees, minutes, and seconds, respectively. If longitude is expressed as degrees, minutes and seconds, a typical format would be ddd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format would be ddd/1,mmmm/100,0/1.
Exif.GPSInfo.GPSDestLongitudeRef Ascii GPSDestLongitudeRef Indicates whether the longitude of the destination point is east or west longitude. ASCII "E" indicates east longitude, and "W" is west longitude.
Exif.GPSInfo.GPSDestBearingRef Ascii GPSDestBearingRef Indicates the reference used for giving the bearing to the destination point. "T" denotes true direction and "M" is magnetic direction.
Exif.GPSInfo.GPSDestBearing Rational GPSDestBearing Indicates the bearing to the destination point. The range of values is from 0.00 to 359.99.
Exif.GPSInfo.GPSDestDistanceRef Ascii GPSDestDistanceRef Indicates the unit used to express the distance to the destination point. "K", "M" and "N" represent kilometers, miles and knots.
Exif.GPSInfo.GPSDestDistance Rational GPSDestDistance Indicates the distance to the destination point.
Exif.GPSInfo.GPSProcessingMethod Undefined GPSProcessingMethod A character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method.
Exif.GPSInfo.GPSAreaInformation Undefined GPSAreaInformation A character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area.
Exif.GPSInfo.GPSDateStamp Ascii GPSDateStamp A character string recording date and time information relative to UTC (Coordinated Universal Time). The format is "YYYY:MM:DD.".
Exif.GPSInfo.GPSDifferential Short GPSDifferential Indicates whether differential correction is applied to the GPS receiver.

EXIF Standard

The below fields are in the exif standard but are not part of goexif at this point.

EXIF Field Type Description
Exif.Image.ProcessingSoftware Ascii The name and version of the software used to post-process the picture.
Exif.Image.NewSubfileType Long A general indication of the kind of data contained in this subfile.
Exif.Image.SubfileType Short A general indication of the kind of data contained in this subfile. This field is deprecated. The NewSubfileType field should be used instead.
Exif.Image.Thresholding Short For black and white TIFF files that represent shades of gray, the technique used to convert from gray to black and white pixels.
Exif.Image.CellWidth Short The width of the dithering or halftoning matrix used to create a dithered or halftoned bilevel file.
Exif.Image.CellLength Short The length of the dithering or halftoning matrix used to create a dithered or halftoned bilevel file.
Exif.Image.FillOrder Short The logical order of bits within a byte
Exif.Image.DocumentName Ascii The name of the document from which this image was scanned
Exif.Image.StripOffsets Long 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. With JPEG compressed data this designation is not needed and is omitted. See also and .
Exif.Image.RowsPerStrip Long 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. With JPEG compressed data this designation is not needed and is omitted. See also and .
Exif.Image.StripByteCounts Long The total number of bytes in each strip. With JPEG compressed data this designation is not needed and is omitted.
Exif.Image.GrayResponseUnit Short The precision of the information contained in the GrayResponseCurve.
Exif.Image.GrayResponseCurve Short For grayscale data, the optical density of each possible pixel value.
Exif.Image.T4Options Long T.4-encoding options.
Exif.Image.T6Options Long T.6-encoding options.
Exif.Image.PageNumber Short The page number of the page from which this image was scanned.
Exif.Image.TransferFunction Short A transfer function for the image, described in tabular style. Normally this tag is not necessary, since color space is specified in the color space information tag ().
Exif.Image.HostComputer Ascii This tag records information about the host computer used to generate the image.
Exif.Image.Predictor Short A predictor is a mathematical operator that is applied to the image data before an encoding scheme is applied.
Exif.Image.WhitePoint Rational The chromaticity of the white point of the image. Normally this tag is not necessary, since color space is specified in the colorspace information tag ().
Exif.Image.PrimaryChromaticities Rational The chromaticity of the three primary colors of the image. Normally this tag is not necessary, since colorspace is specified in the colorspace information tag ().
Exif.Image.ColorMap Short A color map for palette color images. This field defines a Red-Green-Blue color map (often called a lookup table) for palette-color images. In a palette-color image, a pixel value is used to index into an RGB lookup table.
Exif.Image.HalftoneHints Short The purpose of the HalftoneHints field is to convey to the halftone function the range of gray levels within a colorimetrically-specified image that should retain tonal detail.
Exif.Image.TileWidth Short The tile width in pixels. This is the number of columns in each tile.
Exif.Image.TileLength Short The tile length (height) in pixels. This is the number of rows in each tile.
Exif.Image.TileOffsets Short For each tile, the byte offset of that tile, as compressed and stored on disk. The offset is specified with respect to the beginning of the TIFF file. Note that this implies that each tile has a location independent of the locations of other tiles.
Exif.Image.TileByteCounts Short For each tile, the number of (compressed) bytes in that tile. See TileOffsets for a description of how the byte counts are ordered.
Exif.Image.SubIFDs Long Defined by Adobe Corporation to enable TIFF Trees within a TIFF file.
Exif.Image.InkSet Short The set of inks used in a separated (PhotometricInterpretation=5) image.
Exif.Image.InkNames Ascii The name of each ink used in a separated (PhotometricInterpretation=5) image.
Exif.Image.NumberOfInks Short The number of inks. Usually equal to SamplesPerPixel, unless there are extra samples.
Exif.Image.DotRange Byte The component values that correspond to a 0% dot and 100% dot.
Exif.Image.TargetPrinter Ascii A description of the printing environment for which this separation is intended.
Exif.Image.ExtraSamples Short Specifies that each pixel has m extra components whose interpretation is defined by one of the values listed below.
Exif.Image.SampleFormat Short This field specifies how to interpret each data sample in a pixel.
Exif.Image.SMinSampleValue Short This field specifies the minimum sample value.
Exif.Image.SMaxSampleValue Short This field specifies the maximum sample value.
Exif.Image.TransferRange Short Expands the range of the TransferFunction
Exif.Image.ClipPath Byte A TIFF ClipPath is intended to mirror the essentials of PostScript's path creation functionality.
Exif.Image.XClipPathUnits Short The number of units that span the width of the image, in terms of integer ClipPath coordinates.
Exif.Image.YClipPathUnits Short The number of units that span the height of the image, in terms of integer ClipPath coordinates.
Exif.Image.Indexed Short Indexed images are images where the 'pixels' do not represent color values, but rather an index (usually 8-bit) into a separate color table, the ColorMap.
Exif.Image.JPEGTables Undefined This optional tag may be used to encode the JPEG quantization and Huffman tables for subsequent use by the JPEG decompression process.
Exif.Image.OPIProxy Short OPIProxy gives information concerning whether this image is a low-resolution proxy of a high-resolution image (Adobe OPI).
Exif.Image.JPEGProc Long This field indicates the process used to produce the compressed data
Exif.Image.JPEGInterchangeFormat Long The offset to the start byte (SOI) of JPEG compressed thumbnail data. This is not used for primary image JPEG data.
Exif.Image.JPEGInterchangeFormatLength Long 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 must be recorded in no more than 64 Kbytes, including all other data to be recorded in APP1.
Exif.Image.JPEGRestartInterval Short This Field indicates the length of the restart interval used in the compressed image data.
Exif.Image.JPEGLosslessPredictors Short This Field points to a list of lossless predictor-selection values, one per component.
Exif.Image.JPEGPointTransforms Short This Field points to a list of point transform values, one per component.
Exif.Image.JPEGQTables Long This Field points to a list of offsets to the quantization tables, one per component.
Exif.Image.JPEGDCTables Long This Field points to a list of offsets to the DC Huffman tables or the lossless Huffman tables, one per component.
Exif.Image.JPEGACTables Long This Field points to a list of offsets to the Huffman AC tables, one per component.
Exif.Image.YCbCrCoefficients Rational The matrix coefficients for transformation from RGB to YCbCr image data. No default is given in TIFF; but here the value given in Appendix E, "Color Space Guidelines", is used as the default. The color space is declared in a color space information tag, with the default being the value that gives the optimal image characteristics Interoperability this condition.
Exif.Image.ReferenceBlackWhite Rational 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.
Exif.Image.XMLPacket Byte XMP Metadata (Adobe technote 9-14-02)
Exif.Image.Rating Short Rating tag used by Windows
Exif.Image.RatingPercent Short Rating tag used by Windows, value in percent
Exif.Image.ImageID Ascii ImageID is the full pathname of the original, high-resolution image, or any other identifying string that uniquely identifies the original image (Adobe OPI).
Exif.Image.CFARepeatPatternDim Short Contains two values representing the minimum rows and columns to define the repeating patterns of the color filter array
Exif.Image.CFAPattern Byte 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
Exif.Image.BatteryLevel Rational Contains a value of the battery level as a fraction or string
Exif.Image.IPTCNAA Long Contains an IPTC/NAA record
Exif.Image.ImageResources Byte Contains information embedded by the Adobe Photoshop application
Exif.Image.ExifTag Long A pointer to the Exif IFD. Interoperability, Exif IFD has the same structure as that of the IFD specified in TIFF. ordinarily, however, it does not contain image data as in the case of TIFF.
Exif.Image.InterColorProfile Undefined Contains an InterColor Consortium (ICC) format color space characterization/profile
Exif.Image.GPSTag Long A pointer to the GPS Info IFD. The Interoperability structure of the GPS Info IFD, like that of Exif IFD, has no image data.
Exif.Image.Interlace Short Indicates the field number of multifield images.
Exif.Image.TimeZoneOffset Short This optional tag encodes the time zone of the camera clock (relative to Greenwich Mean Time) used to create the DataTimeOriginal tag-value when the picture was taken. It may also contain the time zone offset of the clock used to create the DateTime tag-value when the image was modified.
Exif.Image.SelfTimerMode Short Number of seconds image capture was delayed from button press.
Exif.Image.DateTimeOriginal Ascii The date and time when the original image data was generated.
Exif.Image.SpatialFrequencyResponse Undefined SFR of the camera.
Exif.Image.Noise Undefined Noise measurement values.
Exif.Image.FocalPlaneXResolution Rational Number of pixels per FocalPlaneResolutionUnit (37392) in ImageWidth direction for main image.
Exif.Image.FocalPlaneYResolution Rational Number of pixels per FocalPlaneResolutionUnit (37392) in ImageLength direction for main image.
Exif.Image.FocalPlaneResolutionUnit Short Unit of measurement for FocalPlaneXResolution(37390) and FocalPlaneYResolution(37391).
Exif.Image.ImageNumber Long Number assigned to an image, e.g., in a chained image burst.
Exif.Image.SecurityClassification Ascii Security classification assigned to the image.
Exif.Image.ImageHistory Ascii Record of what has been done to the image.
Exif.Image.SubjectLocation Short Indicates the location and area of the main subject in the overall scene.
Exif.Image.ExposureIndex Rational Encodes the camera exposure index setting when image was captured.
Exif.Image.TIFFEPStandardID Byte Contains four
Exif.Image.SensingMethod Short Type of image sensor.
Exif.Image.XPTitle Byte Title tag used by Windows, encoded in UCS2
Exif.Image.XPComment Byte Comment tag used by Windows, encoded in UCS2
Exif.Image.XPAuthor Byte Author tag used by Windows, encoded in UCS2
Exif.Image.XPKeywords Byte Keywords tag used by Windows, encoded in UCS2
Exif.Image.XPSubject Byte Subject tag used by Windows, encoded in UCS2
Exif.Image.PrintImageMatching Undefined Print Image Matching, description needed.
Exif.Image.DNGVersion Byte This tag encodes the DNG four-tier version number. For files compliant with version 1.1.0.0 of the DNG specification, this tag should contain the bytes: 1, 1, 0, 0.
Exif.Image.DNGBackwardVersion Byte This tag specifies the oldest version of the Digital Negative specification for which a file is compatible. Readers shouldnot attempt to read a file if this tag specifies a version number that is higher than the version number of the specification the reader was based on. In addition to checking the version tags, readers should, for all tags, check the types, counts, and values, to verify it is able to correctly read the file.
Exif.Image.UniqueCameraModel Ascii Defines a unique, non-localized name for the camera model that created the image in the raw file. This name should include the manufacturer's name to avoid conflicts, and should not be localized, even if the camera name itself is localized for different markets (see LocalizedCameraModel). This string may be used by reader software to index into per-model preferences and replacement profiles.
Exif.Image.LocalizedCameraModel Byte Similar to the UniqueCameraModel field, except the name can be localized for different markets to match the localization of the camera name.
Exif.Image.CFAPlaneColor Byte Provides a mapping between the values in the CFAPattern tag and the plane numbers in LinearRaw space. This is a required tag for non-RGB CFA images.
Exif.Image.CFALayout Short Describes the spatial layout of the CFA.
Exif.Image.LinearizationTable Short Describes a lookup table that maps stored values into linear values. This tag is typically used to increase compression ratios by storing the raw data in a non-linear, more visually uniform space with fewer total encoding levels. If SamplesPerPixel is not equal to one, this single table applies to all the samples for each pixel.
Exif.Image.BlackLevelRepeatDim Short Specifies repeat pattern size for the BlackLevel tag.
Exif.Image.BlackLevel Rational Specifies the zero light (a.k.a. thermal black or black current) encoding level, as a repeating pattern. The origin of this pattern is the top-left corner of the ActiveArea rectangle. The values are stored in row-column-sample scan order.
Exif.Image.BlackLevelDeltaH Rational If the zero light encoding level is a function of the image column, BlackLevelDeltaH specifies the difference between the zero light encoding level for each column and the baseline zero light encoding level. If SamplesPerPixel is not equal to one, this single table applies to all the samples for each pixel.
Exif.Image.BlackLevelDeltaV Rational If the zero light encoding level is a function of the image row, this tag specifies the difference between the zero light encoding level for each row and the baseline zero light encoding level. If SamplesPerPixel is not equal to one, this single table applies to all the samples for each pixel.
Exif.Image.WhiteLevel Short This tag specifies the fully saturated encoding level for the raw sample values. Saturation is caused either by the sensor itself becoming highly non-linear in response, or by the camera's analog to digital converter clipping.
Exif.Image.DefaultScale Rational DefaultScale is required for cameras with non-square pixels. It specifies the default scale factors for each direction to convert the image to square pixels. Typically these factors are selected to approximately preserve total pixel count. For CFA images that use CFALayout equal to 2, 3, 4, or 5, such as the Fujifilm SuperCCD, these two values should usually differ by a factor of 2.0.
Exif.Image.DefaultCropOrigin Short Raw images often store extra pixels around the edges of the final image. These extra pixels help prevent interpolation artifacts near the edges of the final image. DefaultCropOrigin specifies the origin of the final image area, in raw image coordinates (i.e., before the DefaultScale has been applied), relative to the top-left corner of the ActiveArea rectangle.
Exif.Image.DefaultCropSize Short Raw images often store extra pixels around the edges of the final image. These extra pixels help prevent interpolation artifacts near the edges of the final image. DefaultCropSize specifies the size of the final image area, in raw image coordinates (i.e., before the DefaultScale has been applied).
Exif.Image.ColorMatrix1 Rational ColorMatrix1 defines a transformation matrix that converts XYZ values to reference camera native color space values, under the first calibration illuminant. The matrix values are stored in row scan order. The ColorMatrix1 tag is required for all non-monochrome DNG files.
Exif.Image.ColorMatrix2 Rational ColorMatrix2 defines a transformation matrix that converts XYZ values to reference camera native color space values, under the second calibration illuminant. The matrix values are stored in row scan order.
Exif.Image.CameraCalibration1 Rational CameraCalibration1 defines a calibration matrix that transforms reference camera native space values to individual camera native space values under the first calibration illuminant. The matrix is stored in row scan order. This matrix is stored separately from the matrix specified by the ColorMatrix1 tag to allow raw converters to swap in replacement color matrices based on UniqueCameraModel tag, while still taking advantage of any per-individual camera calibration performed by the camera manufacturer.
Exif.Image.CameraCalibration2 Rational CameraCalibration2 defines a calibration matrix that transforms reference camera native space values to individual camera native space values under the second calibration illuminant. The matrix is stored in row scan order. This matrix is stored separately from the matrix specified by the ColorMatrix2 tag to allow raw converters to swap in replacement color matrices based on UniqueCameraModel tag, while still taking advantage of any per-individual camera calibration performed by the camera manufacturer.
Exif.Image.ReductionMatrix1 Rational ReductionMatrix1 defines a dimensionality reduction matrix for use as the first stage in converting color camera native space values to XYZ values, under the first calibration illuminant. This tag may only be used if ColorPlanes is greater than 3. The matrix is stored in row scan order.
Exif.Image.ReductionMatrix2 Rational ReductionMatrix2 defines a dimensionality reduction matrix for use as the first stage in converting color camera native space values to XYZ values, under the second calibration illuminant. This tag may only be used if ColorPlanes is greater than 3. The matrix is stored in row scan order.
Exif.Image.AnalogBalance Rational Normally the stored raw values are not white balanced, since any digital white balancing will reduce the dynamic range of the final image if the user decides to later adjust the white balance; however, if camera hardware is capable of white balancing the color channels before the signal is digitized, it can improve the dynamic range of the final image. AnalogBalance defines the gain, either analog (recommended) or digital (not recommended) that has been applied the stored raw values.
Exif.Image.AsShotNeutral Short Specifies the selected white balance at time of capture, encoded as the coordinates of a perfectly neutral color in linear reference space values. The inclusion of this tag precludes the inclusion of the AsShotWhiteXY tag.
Exif.Image.AsShotWhiteXY Rational Specifies the selected white balance at time of capture, encoded as x-y chromaticity coordinates. The inclusion of this tag precludes the inclusion of the AsShotNeutral tag.
Exif.Image.BaselineExposure Rational Camera models vary in the trade-off they make between highlight headroom and shadow noise. Some leave a significant amount of highlight headroom during a normal exposure. This allows significant negative exposure compensation to be applied during raw conversion, but also means normal exposures will contain more shadow noise. Other models leave less headroom during normal exposures. This allows for less negative exposure compensation, but results in lower shadow noise for normal exposures. Because of these differences, a raw converter needs to vary the zero point of its exposure compensation control from model to model. BaselineExposure specifies by how much (in EV units) to move the zero point. Positive values result in brighter default results, while negative values result in darker default results.
Exif.Image.BaselineNoise Rational Specifies the relative noise level of the camera model at a baseline ISO value of 100, compared to a reference camera model. Since noise levels tend to vary approximately with the square root of the ISO value, a raw converter can use this value, combined with the current ISO, to estimate the relative noise level of the current image.
Exif.Image.BaselineSharpness Rational Specifies the relative amount of sharpening required for this camera model, compared to a reference camera model. Camera models vary in the strengths of their anti-aliasing filters. Cameras with weak or no filters require less sharpening than cameras with strong anti-aliasing filters.
Exif.Image.BayerGreenSplit Long Only applies to CFA images using a Bayer pattern filter array. This tag specifies, in arbitrary units, how closely the values of the green pixels in the blue/green rows track the values of the green pixels in the red/green rows. A value of zero means the two kinds of green pixels track closely, while a non-zero value means they sometimes diverge. The useful range for this tag is from 0 (no divergence) to about 5000 (quite large divergence).
Exif.Image.LinearResponseLimit Rational Some sensors have an unpredictable non-linearity in their response as they near the upper limit of their encoding range. This non-linearity results in color shifts in the highlight areas of the resulting image unless the raw converter compensates for this effect. LinearResponseLimit specifies the fraction of the encoding range above which the response may become significantly non-linear.
Exif.Image.CameraSerialNumber Ascii CameraSerialNumber contains the serial number of the camera or camera body that captured the image.
Exif.Image.LensInfo Rational Contains information about the lens that captured the image. If the minimum f-stops are unknown, they should be encoded as 0/0.
Exif.Image.ChromaBlurRadius Rational ChromaBlurRadius provides a hint to the DNG reader about how much chroma blur should be applied to the image. If this tag is omitted, the reader will use its default amount of chroma blurring. Normally this tag is only included for non-CFA images, since the amount of chroma blur required for mosaic images is highly dependent on the de-mosaic algorithm, in which case the DNG reader's default value is likely optimized for its particular de-mosaic algorithm.
Exif.Image.AntiAliasStrength Rational Provides a hint to the DNG reader about how strong the camera's anti-alias filter is. A value of 0.0 means no anti-alias filter (i.e., the camera is prone to aliasing artifacts with some subjects), while a value of 1.0 means a strong anti-alias filter (i.e., the camera almost never has aliasing artifacts).
Exif.Image.ShadowScale Rational This tag is used by Adobe Camera Raw to control the sensitivity of its 'Shadows' slider.
Exif.Image.DNGPrivateData Byte Provides a way for camera manufacturers to store private data in the DNG file for use by their own raw converters, and to have that data preserved by programs that edit DNG files.
Exif.Image.MakerNoteSafety Short MakerNoteSafety lets the DNG reader know whether the EXIF MakerNote tag is safe to preserve a
Exif.Image.CalibrationIlluminant1 Short The illuminant used for the first set of color calibration tags (ColorMatrix1, CameraCalibration1, ReductionMatrix1). The legal values for this tag are the same as the legal values for the LightSource EXIF tag.
Exif.Image.CalibrationIlluminant2 Short The illuminant used for an optional second set of color calibration tags (ColorMatrix2, CameraCalibration2, ReductionMatrix2). The legal values for this tag are the same as the legal values for the CalibrationIlluminant1 tag; however, if both are included, neither is allowed to have a value of 0 (unknown).
Exif.Image.BestQualityScale Rational For some cameras, the best possible image quality is not achieved by preserving the total pixel count during conversion. For example, Fujifilm SuperCCD images have maximum detail when their total pixel count is doubled. This tag specifies the amount by which the values of the DefaultScale tag need to be multiplied to achieve the best quality image size.
Exif.Image.RawDataUniqueID Byte This tag contains a 16-byte unique identifier for the raw image data in the DNG file. DNG readers can use this tag to recognize a particular raw image, even if the file's name or the metadata contained in the file has been changed. If a DNG writer creates such an identifier, it should do so using an algorithm that will ensure that it is very unlikely two different images will end up having the same identifier.
Exif.Image.OriginalRawFileName Byte If the DNG file was converted from a non-DNG raw file, then this tag contains the file name of that original raw file.
Exif.Image.OriginalRawFileData Undefined If the DNG file was converted from a non-DNG raw file, then this tag contains the compressed contents of that original raw file. The contents of this tag always use the big-endian byte order. The tag contains a sequence of data blocks. Future versions of the DNG specification may define additional data blocks, so DNG readers should ignore extra bytes when parsing this tag. DNG readers should also detect the case where data blocks are missing from the end of the sequence, and should assume a default value for all the missing blocks. There are no padding or alignment bytes between data blocks.
Exif.Image.ActiveArea Short This rectangle defines the active (non-masked) pixels of the sensor. The order of the rectangle coordinates is: top, left, bottom, right.
Exif.Image.MaskedAreas Short This tag contains a list of non-overlapping rectangle coordinates of fully masked pixels, which can be optionally used by DNG readers to measure the black encoding level. The order of each rectangle's coordinates is: top, left, bottom, right. If the raw image data has already had its black encoding level subtracted, then this tag should not be used, since the masked pixels are no
Exif.Image.AsShotICCProfile Undefined This tag contains an ICC profile that, in conjunction with the AsShotPreProfileMatrix tag, provides the camera manufacturer with a way to specify a default color rendering from camera color space coordinates (linear reference values) into the ICC profile connection space. The ICC profile connection space is an output referred colorimetric space, whereas the other color calibration tags in DNG specify a conversion into a scene referred colorimetric space. This means that the rendering in this profile should include any desired tone and gamut mapping needed to convert between scene referred values and output referred values.
Exif.Image.AsShotPreProfileMatrix Rational This tag is used in conjunction with the AsShotICCProfile tag. It specifies a matrix that should be applied to the camera color space coordinates before processing the values through the ICC profile specified in the AsShotICCProfile tag. The matrix is stored in the row scan order. If ColorPlanes is greater than three, then this matrix can (but is not required to) reduce the dimensionality of the color data down to three components, in which case the AsShotICCProfile should have three rather than ColorPlanes input components.
Exif.Image.CurrentICCProfile Undefined This tag is used in conjunction with the CurrentPreProfileMatrix tag. The CurrentICCProfile and CurrentPreProfileMatrix tags have the same purpose and usage as the AsShotICCProfile and AsShotPreProfileMatrix tag pair, except they are for use by raw file editors rather than camera manufacturers.
Exif.Image.CurrentPreProfileMatrix Rational This tag is used in conjunction with the CurrentICCProfile tag. The CurrentICCProfile and CurrentPreProfileMatrix tags have the same purpose and usage as the AsShotICCProfile and AsShotPreProfileMatrix tag pair, except they are for use by raw file editors rather than camera manufacturers.
Exif.Image.ColorimetricReference Short The DNG color model documents a transform between camera colors and CIE XYZ values. This tag describes the colorimetric reference for the CIE XYZ values. 0 = The XYZ values are scene-referred. 1 = The XYZ values are output-referred, using the ICC profile perceptual dynamic range. This tag allows output-referred data to be stored in DNG files and still processed correctly by DNG readers.
Exif.Image.CameraCalibrationSignature Byte A UTF-8 encoded string associated with the CameraCalibration1 and CameraCalibration2 tags. The CameraCalibration1 and CameraCalibration2 tags should only be used in the DNG color transform if the string stored in the CameraCalibrationSignature tag exactly matches the string stored in the ProfileCalibrationSignature tag for the selected camera profile.
Exif.Image.ProfileCalibrationSignature Byte A UTF-8 encoded string associated with the camera profile tags. The CameraCalibration1 and CameraCalibration2 tags should only be used in the DNG color transfer if the string stored in the CameraCalibrationSignature tag exactly matches the string stored in the ProfileCalibrationSignature tag for the selected camera profile.
Exif.Image.AsShotProfileName Byte A UTF-8 encoded string containing the name of the "as shot" camera profile, if any.
Exif.Image.NoiseReductionApplied Rational This tag indicates how much noise reduction has been applied to the raw data on a scale of 0.0 to 1.0. A 0.0 value indicates that no noise reduction has been applied. A 1.0 value indicates that the "ideal" amount of noise reduction has been applied, i.e. that the DNG reader should not apply additional noise reduction by default. A value of 0/0 indicates that this parameter is unknown.
Exif.Image.ProfileName Byte A UTF-8 encoded string containing the name of the camera profile. This tag is optional if there is only a single camera profile stored in the file but is required for all camera profiles if there is more than one camera profile stored in the file.
Exif.Image.ProfileHueSatMapDims Long This tag specifies the number of input samples in each dimension of the hue/saturation/value mapping tables. The data for these tables are stored in ProfileHueSatMapData1 and ProfileHueSatMapData2 tags. The most common case has ValueDivisions equal to 1, so only hue and saturation are used as inputs to the mapping table.
Exif.Image.ProfileHueSatMapData1 Float This tag contains the data for the first hue/saturation/value mapping table. Each entry of the table contains three 32-bit IEEE floating-point values. The first entry is hue shift in degrees; the second entry is saturation scale factor; and the third entry is a value scale factor. The table entries are stored in the tag in nested loop order, with the value divisions in the outer loop, the hue divisions in the middle loop, and the saturation divisions in the inner loop. All zero input saturation entries are required to have a value scale factor of 1.0.
Exif.Image.ProfileHueSatMapData2 Float This tag contains the data for the second hue/saturation/value mapping table. Each entry of the table contains three 32-bit IEEE floating-point values. The first entry is hue shift in degrees; the second entry is a saturation scale factor; and the third entry is a value scale factor. The table entries are stored in the tag in nested loop order, with the value divisions in the outer loop, the hue divisions in the middle loop, and the saturation divisions in the inner loop. All zero input saturation entries are required to have a value scale factor of 1.0.
Exif.Image.ProfileToneCurve Float This tag contains a default tone curve that can be applied while processing the image as a starting point for user adjustments. The curve is specified as a list of 32-bit IEEE floating-point value pairs in linear gamma. Each sample has an input value in the range of 0.0 to 1.0, and an output value in the range of 0.0 to 1.0. The first sample is required to be (0.0, 0.0), and the last sample is required to be (1.0, 1.0). Interpolated the curve using a cubic spline.
Exif.Image.ProfileEmbedPolicy Long This tag contains information about the usage rules for the associated camera profile.
Exif.Image.ProfileCopyright Byte A UTF-8 encoded string containing the copyright information for the camera profile. This string always should be preserved a
Exif.Image.ForwardMatrix1 Rational This tag defines a matrix that maps white balanced camera colors to XYZ D50 colors.
Exif.Image.ForwardMatrix2 Rational This tag defines a matrix that maps white balanced camera colors to XYZ D50 colors.
Exif.Image.PreviewApplicationName Byte A UTF-8 encoded string containing the name of the application that created the preview stored in the IFD.
Exif.Image.PreviewApplicationVersion Byte A UTF-8 encoded string containing the version number of the application that created the preview stored in the IFD.
Exif.Image.PreviewSettingsName Byte A UTF-8 encoded string containing the name of the conversion settings (for example, snapshot name) used for the preview stored in the IFD.
Exif.Image.PreviewSettingsDigest Byte A unique ID of the conversion settings (for example, MD5 digest) used to render the preview stored in the IFD.
Exif.Image.PreviewColorSpace Long This tag specifies the color space in which the rendered preview in this IFD is stored. The default value for this tag is sRGB for color previews and Gray Gamma 2.2 for monochrome previews.
Exif.Image.PreviewDateTime Ascii This tag is an
Exif.Image.RawImageDigest Undefined This tag is an MD5 digest of the raw image data. All pixels in the image are processed in row-scan order. Each pixel is zero padded to 16 or 32 bits deep (16-bit for data less than or equal to 16 bits deep, 32-bit otherwise). The data for each pixel is processed in little-endian byte order.
Exif.Image.OriginalRawFileDigest Undefined This tag is an MD5 digest of the data stored in the OriginalRawFileData tag.
Exif.Image.SubTileBlockSize Long Normally, the pixels within a tile are stored in simple row-scan order. This tag specifies that the pixels within a tile should be grouped first into rectangular blocks of the specified size. These blocks are stored in row-scan order. Within each block, the pixels are stored in row-scan order. The use of a non-default value for this tag requires setting the DNGBackwardVersion tag to at least 1.2.0.0.
Exif.Image.RowInterleaveFactor Long This tag specifies that rows of the image are stored in interleaved order. The value of the tag specifies the number of interleaved fields. The use of a non-default value for this tag requires setting the DNGBackwardVersion tag to at least 1.2.0.0.
Exif.Image.ProfileLookTableDims Long This tag specifies the number of input samples in each dimension of a default "look" table. The data for this table is stored in the ProfileLookTableData tag.
Exif.Image.ProfileLookTableData Float This tag contains a default "look" table that can be applied while processing the image as a starting point for user adjustment. This table uses the same format as the tables stored in the ProfileHueSatMapData1 and ProfileHueSatMapData2 tags, and is applied in the same color space. However, it should be applied later in the processing pipe, after any exposure compensation and/or fill light stages, but before any tone curve stage. Each entry of the table contains three 32-bit IEEE floating-point values. The first entry is hue shift in degrees, the second entry is a saturation scale factor, and the third entry is a value scale factor. The table entries are stored in the tag in nested loop order, with the value divisions in the outer loop, the hue divisions in the middle loop, and the saturation divisions in the inner loop. All zero input saturation entries are required to have a value scale factor of 1.0.
Exif.Image.OpcodeList1 Undefined Specifies the list of opcodes that should be applied to the raw image, as read directly from the file.
Exif.Image.OpcodeList2 Undefined Specifies the list of opcodes that should be applied to the raw image, just after it has been mapped to linear reference values.
Exif.Image.OpcodeList3 Undefined Specifies the list of opcodes that should be applied to the raw image, just after it has been demosaiced.
Exif.Image.NoiseProfile Double NoiseProfile describes the amount of noise in a raw image. Specifically, this tag models the amount of signal-dependent photon (shot) noise and signal-independent sensor readout noise, two common sources of noise in raw images. The model assumes that the noise is white and spatially independent, ignoring fixed pattern effects and other sources of noise (e.g., pixel response non-uniformity, spatially-dependent thermal effects, etc.).
Exif.Image.TimeCodes Byte The optional TimeCodes tag shall contain an ordered array of time codes. All time codes shall be 8 bytes
Exif.Image.FrameRate Rational The optional FrameRate tag shall specify the video frame rate in number of image frames per second, expressed as a signed
Exif.Image.TStop Rational The optional TStop tag shall specify the T-stop of the actual lens, expressed as an unsigned
Exif.Image.ReelName Ascii The optional ReelName tag shall specify a name for a sequence of images, where each image in the sequence has a unique image identifier (including but not limited to file name, frame number, date time, time code).
Exif.Image.CameraLabel Ascii The optional CameraLabel tag shall specify a text label for how the camera is used or assigned in this clip. This tag is similar to CameraLabel in XMP.
Exif.Photo.ExposureTime Rational Exposure time, given in seconds (sec).
Exif.Photo.FNumber Rational The F number.
Exif.Photo.ExposureProgram Short The class of the program used by the camera to set exposure when the picture is taken.
Exif.Photo.SpectralSensitivity Ascii Indicates the spectral sensitivity of each channel of the camera used. The tag value is an
Exif.Photo.ISOSpeedRatings Short Indicates the ISO Speed and ISO Latitude of the camera or input device as specified in ISO 12232.
Exif.Photo.OECF Undefined Indicates the Opto-Electoric Conversion Function (OECF) specified in ISO 14524. is the relationship between the camera optical input and the image values.
Exif.Photo.SensitivityType Short The SensitivityType tag indicates which one of the parameters of ISO12232 is the PhotographicSensitivity tag. Although it is an optional tag, it should be recorded when a PhotographicSensitivity tag is recorded. Value = 4, 5, 6, or 7 may be used in case that the values of plural parameters are the same.
Exif.Photo.StandardOutputSensitivity Long This tag indicates the standard output sensitivity value of a camera or input device defined in ISO 12232. When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded.
Exif.Photo.RecommendedExposureIndex Long This tag indicates the recommended exposure index value of a camera or input device defined in ISO 12232. When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded.
Exif.Photo.ISOSpeed Long This tag indicates the ISO speed value of a camera or input device that is defined in ISO 12232. When recording this tag, the PhotographicSensitivity and SensitivityType tags shall also be recorded.
Exif.Photo.ISOSpeedLatitudeyyy Long 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 ISOSpeed and ISOSpeedLatitudezzz.
Exif.Photo.ISOSpeedLatitudezzz Long 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 ISOSpeed and ISOSpeedLatitudeyyy.
Exif.Photo.CompressedBitsPerPixel Rational Information specific to compressed data. The compression mode used for a compressed image is indicated in unit bits per pixel.
Exif.Photo.ShutterSpeedValue Rational Shutter speed. The unit is the APEX (Additive System of Photographic Exposure) setting.
Exif.Photo.ApertureValue Rational The lens aperture. The unit is the APEX value.
Exif.Photo.BrightnessValue Rational The value of brightness. The unit is the APEX value. Ordinarily it is given in the range of -99.99 to 99.99.
Exif.Photo.ExposureBiasValue Rational The exposure bias. The units is the APEX value. Ordinarily it is given in the range of -99.99 to 99.99.
Exif.Photo.MaxApertureValue Rational 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.
Exif.Photo.SubjectDistance Rational The distance to the subject, given in meters.
Exif.Photo.MeteringMode Short The metering mode.
Exif.Photo.LightSource Short The kind of light source.
Exif.Photo.Flash Short This tag is recorded when an image is taken using a strobe light (flash).
Exif.Photo.FocalLength Rational The actual focal length of the lens, in mm. Conversion is not made to the focal length of a 35 mm film camera.
Exif.Photo.InteroperabilityTag Long Interoperability IFD is composed of tags which stores the information to ensure the Interoperability and pointed by the following tag located in Exif IFD. The Interoperability structure of Interoperability IFD is the same as TIFF defined IFD structure but does not contain the image data characteristically compared with normal TIFF IFD.
Exif.Photo.FlashEnergy Rational Indicates the strobe energy at the time the image is captured, as measured in Beam Candle Power Seconds (BCPS).
Exif.Photo.CameraOwnerName Ascii This tag records the owner of a camera used in photography as an
Exif.Photo.BodySerialNumber Ascii This tag records the serial number of the body of the camera that was used in photography as an
Exif.Photo.LensSpecification Rational This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, and minimum F number in the maximum focal length, which are specification information for the lens that was used in photography. When the minimum F number is unknown, the notation is 0/0
Exif.Photo.LensSerialNumber Ascii This tag records the serial number of the interchangeable lens that was used in photography as an
Exif.Iop.InteroperabilityIndex Ascii Indicates the identification of the Interoperability rule. Use "R98" for stating ExifR98 Rules. Four bytes used including the termination code (NULL). see the separate volume of Recommended Exif Interoperability Rules (ExifR98) for other tags used for ExifR98.
Exif.Iop.InteroperabilityVersion Undefined Interoperability version
Exif.Iop.RelatedImageFileFormat Ascii File format of image file
Exif.Iop.RelatedImageWidth Long Image width
Exif.Iop.RelatedImageLength Long Image height
Exif.GPSInfo.GPSSatellites Ascii Indicates the GPS satellites used for measurements. This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and other information in

Definition of EXIF Data Types

  • Byte : An 8-bit unsigned integer
  • ASCII : An 8 bit byte containing one 7-bit ASCII code
  • Short : a 16-bit (2-byte) unsigned integer
  • Long : A 32-bit (4-byte) unsigned integer
  • Rational : Two LONGs. The first LONG is the numerator and the second LONG expresses the denominator
  • Undefined : An 8-bit byte that may take any value depending on the field definition
  • Slong : (4-byte) signed integer (2's complement notation)
  • Srational : Two Slongs. The first Slong is the numerator and the second Slong is the denominator

from photoprism.

lastzero avatar lastzero commented on May 1, 2024

@jkschoen Wow! Thank you - we'll put that in our Wiki 👍

from photoprism.

jkschoen avatar jkschoen commented on May 1, 2024

@lastzero No Problem. For me or anyone else who may try to tackle this, is your intent to grab everything we can, or is there just a subset of these you would want? I could see an argument for both cases, so just would like to make sure it aligns with the goal.

from photoprism.

lastzero avatar lastzero commented on May 1, 2024

@jkschoen We want to build XMP support, so that files can be reindexed in case the db gets lost. So I think all data should be in those sidecar files, but we only need to index what can actually be used / searched. In case we extend the scope, you would have to re-index.

from photoprism.

lastzero avatar lastzero commented on May 1, 2024

See https://github.com/photoprism/photoprism/wiki/EXIF

from photoprism.

issuehunt-oss avatar issuehunt-oss commented on May 1, 2024

@lastzero has rewarded $16.00 to @graciousgrey. See it on IssueHunt

  • 💰 Total deposit: $20.00
  • 🎉 Repository reward(10%): $2.00
  • 🔧 Service fee(10%): $2.00

from photoprism.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.