Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
I have this IM command of ImageMagick :
convert input.jpg -colorspace gray ( +clone -blur 0x10 ) +swap -compose divide -composite -linear-stretch 5%x0% output.jpg

I want to convert to Magick.NET to use in C# or VB.NET

Thanks

What I have tried:

I try this lines in VB.NET but it still incomplete....
VB
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")
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900