Download
ImageMagick-6.3.3-3-Q16-windows-dll.exe. Start the installation with a double-click
on the downloaded file. Keep the defaults but on the "select additional tasks" page
select "Update executable path" and "Install development headers and libraries for
C and C++":
In Visual Studio 2005 select File / New / Project.:
Select Visual C++ / Class Library as the project type, use MagickNet as the project
name:
Copy the MagickNet source code into the folder of the created project, overwriting
existing files:
Select the "Show all files" icon to display the copied source files in Visual Studio
2005:
Add the copied source files to your project:
Select the release build of the project. Right click on the "MagickNet" project
item and select "Properties" to show the project settings:
Choose the "C++ / General" item and add the path to the installed ImageMagick include
directory to the "additional include directories" option:
Choose the "Linker / General" item and add the path to the installed ImageMagick
lib directory to the "additional library directories" option:
Choose the "Linker / Input" item and add "CORE_RL_magick_.lib" to the "additional
dependencies" option:
Choose the "General Properties / References" item and add System.Drawing to the
references list:
Compile. You will get compile errors. Fix them through replacing all occurences of color->R, color->G, color->B and color->A with color.R, color.G, color.B and color.A.
Compile again. You will get 6 warnings that I have not investigated further because a few tests showed me that the created "MagickNet.dll" is working properly.
Happy imaging!
Patrick