Convert command line to C# .net
Posted: 2018-07-28T01:46:01-07:00
Hi all, I want to convert following command line to c# code.
Code: Select all
magick \( image.png +repage -bordercolor white -border 1x1 \
-fill transparent -floodfill +0+0 white -shave 1x1 +write tmp0.png \) \
\( -clone 0 -fill white -colorize 100% \) \
\( -clone 0 -alpha extract +write tmp1.png -write mpr:alpha -morphology edgeout octagon:10 +write tmp2.png \) \
-alpha off -compose over -composite +write tmp3.png \
\( mpr:alpha -morphology dilate octagon:10 -blur 0x1 -level 50x100% +write tmp4.png \) \
-alpha off -compose copy_opacity -composite \
result1.png