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
Syntax
public static IList<OptimizedFile> OptimizeImages(this ICakeContext context, DirectoryPath sourceDirectory, DirectoryPath outputDirectory, ImageOptimizerSettings settings)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The cake context. |
sourceDirectory |
DirectoryPath |
The directory of the original images. |
outputDirectory |
DirectoryPath |
The directory of the optimized images. |
settings |
ImageOptimizerSettings |
The settings to use when optimizing the images. |
Return Value