ImageMetadataReader.TryGetImageSize

ImageMetadataReader.TryGetImageSize method

It tries to find EXIF set of tags ImageWidth and ImageHeight, if the tags does not presented it returns null

public bool TryGetImageSize(out ImageSize imageSize)
ParameterTypeDescription
imageSizeImageSize&Size of the image.

Return Value

True if successful

See Also