public void Modulate(string modulate)
{
using (INativeInstance modulateNative = UTF8Marshaler.CreateInstance(modulate))
{
IntPtr exception = IntPtr.Zero;
#if ANYCPU
if (NativeLibrary.Is64Bit)
#endif
#if WIN64 || ANYCPU
NativeMethods.X64.MagickImage_Modulate(Instance, modulateNative.Instance, out exception);
#endif
#if ANYCPU
else
#endif
#if !WIN64 || ANYCPU
NativeMethods.X86.MagickImage_Modulate(Instance, modulateNative.Instance, out exception);
#endif
CheckException(exception);
}
}
public void Morphology(MorphologyMethod method, string kernel, Channels channels, int iterations)