This project has moved. For the latest updates, please go here.

Allow command line options

Apr 8, 2016 at 11:19 PM
Edited Apr 8, 2016 at 11:21 PM
Currently we have to manually convert each command line option into .NET equivalent.

Example: https://magick.codeplex.com/discussions/577596

It would be great if we can have a built in function which automatically converts it:

Example:
var NewImage = MagickImage.commandline("-spread 10 -blur 0x3 -threshold 50% -spread 1 -blur 0x.7 -alpha off -compose");
Since we have a lot of readily available filters/command-line option for ImageMagick tool, we can quickly copy paste them and use them.

http://www.imagemagick.org/Usage/thumbnails/#torn

The page above has lots of premade options to manipulate image. Thank you.
Coordinator
Apr 13, 2016 at 9:05 PM
I have got a request for this earlier and I am sorry but I will not add this. Most options translate to a method in the MagickImage class.
Apr 13, 2016 at 10:58 PM
Thank you. I was wondering if its possible to add some documentation in the wiki which explains this translation. It would also explain to newbies all the options available in this tool.

Example: convert -blur 0x3 = MagickImage.Blur(0,3)

This would really help the people to do the translations themselves and make this great tool more useful. Thank you for your hard work in updating this library. :)
Coordinator
Apr 15, 2016 at 11:03 AM
I know I need to add more documentation. I started a bit here: https://magick.codeplex.com/documentation. Feel free to help me improve the documentation.