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 IList<OptimizedFile> Optimize(string optimizer, DirectoryPath sourceDirectory, DirectoryPath outputDirectory, IList<IFile> files, IList<OptimizedFile> configFiles)
Parameters
| Name | Type | Description |
|---|---|---|
| optimizer | string | The optimizer to use. |
| sourceDirectory | DirectoryPath | The directory of the original images. |
| outputDirectory | DirectoryPath | The directory of the optimized images. |
| files | IList |
The files to optimze. |
| configFiles | IList |
The config files to compare against. |
Return Value
| Type | Description |
|---|---|
| IList |
