ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / EXIF functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Constants for the Exif functions
New in SaaS
Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 3.
For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
The Exif constants are as follows:
ConstantDescriptionUsed by the functions / types of variables
ExifBinaryType in which the marker value will be stored: Binary string.ImageInfoModify
ExifStringType in which the marker value will be stored: ASCII character string.ImageInfoModify
ExifInteger4Type in which the marker value will be stored: 4-byte signed integer.ImageInfoModify
ExifUInteger1Type in which the marker value will be stored: 1-byte unsigned integer.ImageInfoModify
ExifUInteger2Type in which the marker value will be stored: 2-byte unsigned integer.ImageInfoModify
ExifUInteger4Type in which the marker value will be stored: 4-byte unsigned integer.ImageInfoModify
ExifRationalType in which the marker value will be stored: Rational signed.ImageInfoModify
ExifURationalType in which the marker value will be stored: Unsigned rational.ImageInfoModify
imgCommentCharacter string
Comments about the image
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgCompressionReal
Compression of the image in bits/pixel
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgCopyrightCharacter string
Copyright of the image
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgDateDate
Date and time of the image in YYYY:MM:DD HH:MM:SS format
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgDescriptionCharacter string
Image description
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgSubjectDistanceReal
Distance from the subject in meters
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgExposureBiasReal
Exposure bias in APEX
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgFlashInteger
Status of the flash during the shot:
  • 0: Flash not triggered.
  • 1: Flash on.
  • 5: Flash triggered and return light not detected.
  • 7: Flash triggered and return light detected.
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgHeightInteger
Image height in pixels
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgWidthInteger
Image width in pixels
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgRecordingSoftwareCharacter string
Name of the software that was used to record the image
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgFocalLengthReal
Focal length in millimeters
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgBrightnessReal
Brightness of the image in APEX
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgDeviceMarkCharacter string
Mark of the camera that took the photo
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgDeviceModelCharacter string
Model of camera that took the photo
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgMeteringModeInteger
Metering mode:
  • 0: unknown.
  • 1: average.
  • 2: centered mean.
  • 3: dot.
  • 4: multipoint.
  • 5: motif.
  • 6: partial.
  • 7 to 254: reserved.
  • 255: other.
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgManufacturerNoteCharacter strings
Name of the camera manufacturer
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgOrientationInteger
Orientation of the image:
  • 1 to 4: landscape.
  • 5 to 8: portrait.
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgApertureReal
Aperture in APEX
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgFApertureReal
Focal
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgMaxApertureReal
Maximum aperture in APEX
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgExposureProgramInteger
Exposure mode used during the shot:
  • 0: undefined.
  • 1: manual.
  • 2: normal.
  • 3: aperture priority.
  • 4: speed priority.
  • 5: creative.
  • 6: action.
  • 7: close-up without background.
  • 8: landscape.
  • 9 to 255: other.
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgXResolutionReal
Horizontal resolution of the image
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgYResolutionReal
Vertical resolution of the image
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgLightSourceInteger
Light source for the image:
  • 0: unknown.
  • 1: daylight.
  • 2: fluorescent.
  • 3: tungsten.
  • 17: standard light A.
  • 18: standard light B.
  • 19: standard light C.
  • 20: D55.
  • 21: D65.
  • 22: D75.
  • 23 to 254: reserved.
  • 255: other.
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgExposureTimeReal
Exposure time
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgResolutionUnitInteger
Unit for the horizontal and vertical resolution of the image:
  • 2: inches.
  • 3: centimetres.
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgEXIFVersionCharacter string
Version of Exif information
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
imgThumbnailBinary string
Thumbnail corresponding to the image
ImageInfoListImageInfoValue, type Image
imgShutterSpeedReal
Shutter speed in APEX
ImageInfoList, ImageInfoModify, ImageInfoValue, Image type
See also
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/13/2025

Send a report | Local help