Class ImageAttributesProvider
- Namespace
- Dynamicweb.Imaging.Providers
- Assembly
- Dynamicweb.Core.dll
Provides basic image information like size, color and resolution.
public abstract class ImageAttributesProvider
- Inheritance
-
ImageAttributesProvider
- Inherited Members
Methods
GetAttributesFromFile(string)
Gets image attributes from image file
public abstract ImageAttributes GetAttributesFromFile(string filePath)
Parameters
filePath
stringAbsolute file path
Returns
- ImageAttributes
Image attributes
GetAttributesFromStream(Stream, string)
Gets image attributes from file stream
public abstract ImageAttributes GetAttributesFromStream(Stream stream, string extension)
Parameters
Returns
- ImageAttributes
Image attributes