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 Images from the settings SourceDirectory
- Assembly
- Cake
.ImageOptimizer .dll - Namespace
- Cake
.ImageOptimizer - Containing Type
- IBulkImageOptimizer
Syntax
IList<OptimizedFile> Optimize(DirectoryPath sourceDirectory, DirectoryPath outputDirectory, ImageOptimizerSettings settings)
Parameters
Name | Type | Description |
---|---|---|
sourceDirectory | DirectoryPath | The directory of the original images. |
outputDirectory | DirectoryPath | The directory of the optimized images. |
settings | Image |
The settings to use when optimizing the images. |
Return Value
Type | Description |
---|---|
IList |