Type IEncoderProvider
Namespace ImageResizer.Encoding
Public instance methods
IEncoder GetEncoder(ResizeSettings settings, object original)
Returns an encoder based on the provided settings and the source object
Parameters
-
ResizeSettings
settings - Request settings, like format, quality, colors, dither, etc.
-
object
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.