Retrieves the EXIF information in a file.
Usage:
imgEXIF (object me, string filePath)
Parameters:
filePath (string) - The path to an existing image file
Returns:
(property list) - the following properties are returned:
- #Version
- #CameraMake
- #CameraModel
- #DateTime
- #Height
- #Width
- #Orientation
- #IsColor
- #Process
- #FlashUsed
- #FocalLength
- #ExposureTime
- #ApertureFNumber
- #Distance
- #CCDWidth
- #ExposureBias
- #Whitebalance
- #MeteringMode
- #ExposureProgram
- #ISOequivalent
- #CompressionLevel
- #FocalplaneXRes
- #FocalplaneYRes
- #FocalplaneUnits
- #Xresolution
- #Yresolution
- #ResolutionUnit
- #Brightness
- #Comments
Example:
xtRose = xtra("Rosetta").new( )
put xtRose.imgEXIF( "C:\windows\test.jpg" )
Notes:
Since EXIF is only supported in the JPG format, therefore Rosetta does not internally store EXIF strings. To retrieve EXIF information, simply provide the path to the JPG image.