BulkImageOptimizer.

Optimize(string, IFile, FilePath, IList<OptimizedFile>) Method

Summary

Optimizes a list of files using a given optimizer

Syntax

public OptimizedFile Optimize(string optimizer, IFile file, FilePath outputPath, IList<OptimizedFile> configFiles)

Parameters

Name Type Description
optimizer string The optimizer to use.
file IFile The file to optimze.
outputPath FilePath The path of the optimized file.
configFiles IList<OptimizedFile> The config files to compare against.

Return Value

Type Description
OptimizedFile