Click or drag to resize

BatchProcessorStartWorkFlow Method (IEnumerableString, String, FuncLoadImageArgs, IBitmapImage, FuncProcessImageArgs, IBitmapImage, ActionStoreImageArgs)

Starts a three step workflow for loading, processing and storing images

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
public void StartWorkFlow(
	IEnumerable<string> filePaths,
	string basePath,
	Func<LoadImageArgs, IBitmapImage> loadImgFunc,
	Func<ProcessImageArgs, IBitmapImage> processImgFunc,
	Action<StoreImageArgs> storeImgAction
)

Parameters

filePaths
Type: System.Collections.GenericIEnumerableString
An enumerable of file image file paths.
basePath
Type: SystemString
Base path of images files. All files must start with this base path.
loadImgFunc
Type: SystemFuncLoadImageArgs, IBitmapImage
Function for loading an image from source.
processImgFunc
Type: SystemFuncProcessImageArgs, IBitmapImage
Processing function to apply to each image.
storeImgAction
Type: SystemActionStoreImageArgs
Action to write image to destination.
See Also