
Some properties are only supported for certain file containers and image codecs. If (retrievedProps.ContainsKey(""))Īperture = (double)retrievedProps įor a complete list of Windows Properties, including the identifiers and type for each property, see Windows Properties. IDictionary retrievedProps = await props.RetrievePropertiesAsync(requests)

The ImageProperties.RetrievePropertiesAsync method takes this list of strings and returns a dictionary of key/value pairs where the key is the property identifier and the value is the property value. Create a list of strings and add the identifier for each property you want to retrieve. To access a larger set of file metadata, use the Windows Property System, a set of file metadata properties that can be retrieved with a unique string identifier. Format does not support, or image does not contain DateTaken property Format does not support, or image does not contain Title property private async void GetImageProperties(StorageFile imageFile) The returned ImageProperties object exposes members that contain basic image metadata fields, like the title of the image and the capture date. Get the image-specific properties by calling GetImagePropertiesAsync.

The StorageFile.Properties property returns a StorageItemContentProperties object that provides access to content-related information about the file.
EXIF IMAGETYPE ERROR HOW TO
This article shows how to read and write image metadata properties and how to geotag files using the GeotagHelper utility class.
