ImageResizer
3.4.0
|
For virtual files who want to provide their data in Bitmap form (like a PSD reader or gradient generator). Plugins should never assume this interface will be used, .Open() must also be implemented. More...
Public Member Functions | |
System.Drawing.Bitmap | GetBitmap () |
Returns a Bitmap instance of the file's contents More... | |
Public Member Functions inherited from ImageResizer.Plugins.IVirtualFile | |
Stream | Open () |
Returns an opened stream to the file contents. More... | |
Additional Inherited Members | |
Properties inherited from ImageResizer.Plugins.IVirtualFile | |
string | VirtualPath [get] |
The virtual path of the file (relative to the domain, like /app/folder/file.ext) More... | |
For virtual files who want to provide their data in Bitmap form (like a PSD reader or gradient generator). Plugins should never assume this interface will be used, .Open() must also be implemented.
Definition at line 10 of file IVirtualBitmapFile.cs.
System.Drawing.Bitmap ImageResizer.Plugins.IVirtualBitmapFile.GetBitmap | ( | ) |
Returns a Bitmap instance of the file's contents
Implemented in ImageResizer.Plugins.PsdComposer.PsdVirtualFile, and ImageResizer.Plugins.Basic.Gradient.GradientVirtualFile.