Class Image
- Namespace
- Dynamicweb.Imaging
- Assembly
- Dynamicweb.Core.dll
This class contains function to handle images and other media like swf and mov files.
- Inheritance
-
Image
- Inherited Members
Methods
GetAttributesFromFile(string)
Gets image attributes from image file
Parameters
filePath
stringAbsolute file path
Returns
- Image
Attributes Image attributes
GetAttributesFromStream(Stream, string)
Gets image attributes from file stream
Parameters
Returns
- Image
Attributes Image attributes
GetMetadataFromFile(string)
Gets image metadata from a file.
Parameters
filePath
stringImage file path.
Returns
- Image
Metadata Metadata for the image.
GetMetadataFromStream(Stream, string)
Gets image metadata.
Parameters
Returns
- Image
Metadata Metadata for the image.
GetSizeFromFile(string)
Gets the image dimensions from the image specified in the path.
Parameters
filePath
stringThe file path.
Returns
GetSizeFromStream(Stream, string)
Gets the image dimensions from the image data stream and image file extension.
Parameters
Returns
- Size
Dimensions for image
GetTagGroups()
Gets a collection of available metadata tag groups.
Returns
- IDictionary<string, Image
Metadata >Tag Group Collection of metadata tag groups
GetTagsByGroup(string)
Gets a collection of available metadata tags for a given metadata tag group.
Parameters
group
stringMetadata tag group
Returns
- IDictionary<string, Image
Metadata >Tag Collection of metadata tags