Here is a code example:
Code: Select all
MagickWandGenesis();
MagickWand *wand;
wand = NewMagickWand();
MagickReadImage(wand, "C:\\1.jpg");
MagickExtentImage(wand, 800, 600, 0, -300);
MagickWriteImage(wand, "C:\\2.jpg");
wand = DestroyMagickWand(wand);
MagickWandTerminus();
Windows 7 64 bit
Compiler: Visual Studio 2010
ImageMagick-6.7.1-0-Q16-windows-x64-dll.exe
My 32 bit system is:
Windows Server 2008 x86
Compiler: Visual Studio 2010
ImageMagick-6.7.1-0-Q16-windows-dll.exe