 | BatchProcessorForEachImage Method |
Loads images (jpg, png and bmp) from basePath (and sub directories), applies processImgFunc() to image, and writes new image to
destBasePath with destSuffix appended to the file name.
Namespace:
CohesiveComputing.Imaging
Assembly:
CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntaxpublic void ForEachImage(
string basePath,
string destBasePath,
string destSuffix,
Func<ProcessImageArgs, IBitmapImage> processImgFunc
)
Parameters
- basePath
- Type: SystemString
Base path of images files. - destBasePath
- Type: SystemString
Destination base path for writing image files. - destSuffix
- Type: SystemString
Suffix to append to destination file name. - processImgFunc
- Type: SystemFuncProcessImageArgs, IBitmapImage
Processing function to apply to each image.
See Also