applyFiltersOnImageFile method
- String imageFileUri,
- List<
ParametricFilter> filters, { - bool? overwrite,
- SaveImageOptions? saveOptions,
Applies the given filters on the image.
imageFileUri - File uri of the image to be processed.
filters - List of filters to be applied on the image.
overwrite - Whether to overwrite the original image file or create a new file. Default is false
saveOptions - Options for saving the image.
Returns a Future that completes with file uri of the image with applied filters.
Implementation
Future<Result<String>> applyFiltersOnImageFile(
String imageFileUri, List<ParametricFilter> filters,
{bool? overwrite, SaveImageOptions? saveOptions}) {
return ScanbotImageProcessorImpl.applyFiltersOnImageFile(
imageFileUri, filters, overwrite, saveOptions);
}