Class ImageSizeProvider
- Namespace
- Dynamicweb.Imaging.Providers
- Assembly
- Dynamicweb.Core.dll
Provides image dimensions (width and height) for image files.
- Inheritance
-
Image
Size Provider
- Inherited Members
Methods
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.