Saves the given image with the vignette filter applied at the specified strength.
vignette_filter( image_path, strength = 1, return_file_name = "vignette.jpeg", dest_folder = "transformed_imgs/" )
image_path | string: The local file path for the image to which the filter will be applied. |
---|---|
strength | double: parameter for the strength of the dimming effect. Default: 1.0. |
return_file_name | string: File name for the transformed image to be saved |
dest_folder | string: Destiname folder name for storing transformed images |
array: image array with the desired distortion applied.