Does Magick.Net have methods for all convert command line transformations?

Dec 3, 2013 at 2:41 PM
Edited Dec 3, 2013 at 2:42 PM
Hi,

I'm new to Magick.Net.
Does Magick.Net have methods for all convert command line transformations?

Can this following example be implemented with Magick.Net:

convert
 ( xc:red xc:blue +append ) \
  \( xc:yellow xc:cyan +append \) -append \
  -size 100x100 xc: +swap   -interpolate Catrom \
  -fx 'v.p{i/(w-1),j/(h-1)}'    interpolate_catrom.jpg

Thanks
Coordinator
Dec 3, 2013 at 5:30 PM
I try to implement all features that are available from the command line. But not everything has been added yet. It seems that the interpolate setting is not available. I will create an issue to make this available. It also seems that -fx operator can work on multiple images. MagickImageCollection does not support that as this moment. I will create another issue for that.

To end with some good news I added a small example below that does the first part of your command.
// ( xc:red xc:blue +append )
using (MagickImageCollection images = new MagickImageCollection())
{
  images.Add(new MagickImage("xc:red"));
  images.Add(new MagickImage("xc:blue"));
  MagickImage result = images.AppendHorizontally(); // +append
  //MagickImage result = images.AppendVertically(); // -append
}
Coordinator
Dec 3, 2013 at 5:31 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Dec 3, 2013 at 5:32 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.