convert input.jpg -colorspace gray ( +clone -blur 0x10 ) +swap -compose divide -composite -linear-stretch 5%x0% output.jpg
img = New MagickImage("input.jpg") img.ColorSpace = ColorSpace.Gray Dim backgroundImg = img.Clone backgroundImg.Blur(0, 10) img.LinearStretch(5, 0) img.Write("output.jpg")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)