ImageOptimizerFactory.

Optimize(string, FilePath) Method

Summary

Get an optimizer from the factory

Syntax

public ImageOptimizerResult Optimize(string optimizer, FilePath path)

Parameters

Name Type Description
optimizer string The name of the optimizer.
path FilePath The path of the file to optimize.

Return Value

Type Description
ImageOptimizerResult