This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.ImageOptimizer.
Summary
Optimizes a list of files using a given optimizer
- Assembly
- Cake
.ImageOptimizer .dll - Namespace
- Cake
.ImageOptimizer - Containing Type
- BulkImageOptimizer
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 |
The config files to compare against. |
Return Value
Type | Description |
---|---|
OptimizedFile |