ImageResizer
3.4.0
|
Public Member Functions | |
IPlugin | Install (Config c) |
Installs the plugin in the specified Config instance. The plugin must handle all the work of loading settings, registering the plugin etc. More... | |
bool | Uninstall (Config c) |
Uninstalls the plugin. Should reverse all changes made during Install More... | |
WebPEncoderPlugin (NameValueCollection args) | |
IEncoder | CreateIfSuitable (ResizeSettings settings, object original) |
If the encoder can handle the requirements specified by 'settings' and 'source', it should return an encoder instance. If not, it should return null. More... | |
void | Write (System.Drawing.Image i, System.IO.Stream s) |
Public Member Functions inherited from ImageResizer.Encoding.IEncoder | |
void | Write (Image i, Stream s) |
Encodes the image to the specified stream More... | |
Properties | |
float | Quality [get, set] |
bool | Lossless [get, set] |
bool | NoAlpha [get, set] |
If true, the alpha channel will be ignored, even if present. More... | |
bool | SupportsTransparency [get] |
string | MimeType [get] |
string | Extension [get] |
Properties inherited from ImageResizer.Encoding.IEncoder | |
bool | SupportsTransparency [get] |
True if the output format will support transparency as it is currently configured. More... | |
string | MimeType [get] |
Returns the appropriate mime-time for the output format as currently configured. More... | |
string | Extension [get] |
Returns a file extension appropriate for the output format as currently configured, without a leading dot. More... | |
Definition at line 12 of file WebPEncoder.cs.
|
inline |
If the encoder can handle the requirements specified by 'settings' and 'source', it should return an encoder instance. If not, it should return null.
settings | Request settings, like format, quality, colors, dither, etc. |
original | May be a Drawing.Image instance, a path, or null. To provide both, set Image.tag to the path. Helps the encoder detect the original format if the format was not specified. May also be used for palette generation hinting by some encoders. |
Implements ImageResizer.Encoding.IEncoder.
Definition at line 43 of file WebPEncoder.cs.
Installs the plugin in the specified Config instance. The plugin must handle all the work of loading settings, registering the plugin etc.
c |
Implements ImageResizer.Plugins.IPlugin.
Definition at line 14 of file WebPEncoder.cs.
|
inline |
Uninstalls the plugin. Should reverse all changes made during Install
c |
Implements ImageResizer.Plugins.IPlugin.
Definition at line 19 of file WebPEncoder.cs.
|
getset |
If true, the alpha channel will be ignored, even if present.
Definition at line 41 of file WebPEncoder.cs.