Class ImageMetaData
Represents meta data for a source image.
Implements
Inherited Members
Namespace: AdaptiveImages.Providers
Assembly: AdaptiveImages.dll
Syntax
public class ImageMetaData : IImageProviderAsset
Properties
Copyright
Gets or sets copyright information for the original image.
Declaration
public virtual string? Copyright { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Gets or sets description for the original image.
Declaration
public virtual string? Description { get; set; }
Property Value
Type | Description |
---|---|
string |
Filename
Gets or sets the filename for the original image.
Declaration
public virtual string? Filename { get; set; }
Property Value
Type | Description |
---|---|
string |
Filesize
Original image file size.
Declaration
public virtual long Filesize { get; set; }
Property Value
Type | Description |
---|---|
long |
Height
Original image height in pixels.
Declaration
public virtual int Height { get; set; }
Property Value
Type | Description |
---|---|
int |
Id
Unique ID within the provider.
Declaration
public virtual string? Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Keywords
Gets or sets keywords for the original image.
Declaration
public virtual IEnumerable<string>? Keywords { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
Name
Gets or sets a display name for the original image, which may or may not be the same as the filename.
Declaration
public virtual string? Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Provider
Gets or sets the provider name from which the image originated.
Declaration
public virtual string? Provider { get; set; }
Property Value
Type | Description |
---|---|
string |
Thumbnail
Gets or sets thumbnail URL, e.g. used in search results.
Declaration
public virtual string? Thumbnail { get; set; }
Property Value
Type | Description |
---|---|
string |
Width
Original image width in pixels.
Declaration
public virtual int Width { get; set; }
Property Value
Type | Description |
---|---|
int |