BulkImageOptimizer.

Optimize(DirectoryPath, DirectoryPath, ImageOptimizerSettings) Method

Summary

Optimizes Images from the settings SourceDirectory

Syntax

public 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 ImageOptimizerSettings The settings to use when optimizing the images.

Return Value

Type Description
IList<OptimizedFile>