public void AddProfile(string name, byte[] datum, int length)
{
using (INativeInstance nameNative = UTF8Marshaler.CreateInstance(name))
{
IntPtr exception = IntPtr.Zero;
#if ANYCPU
if (NativeLibrary.Is64Bit)
#endif
#if WIN64 || ANYCPU
NativeMethods.X64.MagickImage_AddProfile(Instance, nameNative.Instance, datum, (UIntPtr)length, out exception);
#endif
#if ANYCPU
else
#endif
#if !WIN64 || ANYCPU
NativeMethods.X86.MagickImage_AddProfile(Instance, nameNative.Instance, datum, (UIntPtr)length, out exception);
#endif
CheckException(exception);
}
}
public void AffineTransform(double scaleX, double scaleY, double shearX, double shearY, double translateX, double translateY)