IImageOptimizerFactory.

Optimize(string, FilePath, FilePath) Method

Summary

Get an optimizer from the factory

Syntax

ImageOptimizerResult Optimize(string optimizer, FilePath sourcePath, FilePath outputPath)

Parameters

Name Type Description
optimizer string The name of the optimizer.
sourcePath FilePath The path of the file to optimize.
outputPath FilePath The output path for the optimized image.

Return Value

Type Description
ImageOptimizerResult