Interface IMetadataSource
Provides a mechanism for accessing metadata from an image.
Namespace: PhotoSauce.MagicScaler
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public interface IMetadataSource
Methods
TryGetMetadata<T>(out T)
Attempt to retrieve metadata of type T
from this source.
Declaration
bool TryGetMetadata<T>(out T metadata)
where T : IMetadata
Parameters
Type | Name | Description |
---|---|---|
T | metadata | The value of the metadata, if available. |
Returns
Type | Description |
---|---|
System.Boolean | True if the metadata was available, otherwise false. |
Type Parameters
Name | Description |
---|---|
T | The type of metadata to retrieve. |