This project has moved. For the latest updates, please go here.


  • Make sure you have installed Visual C++ Redistributable for Visual Studio
    • .NET 4.0: Visual C++ Redistributable for Visual Studio 2012 (x64 or x86)
    • .NET 2.0: Visual C++ Redistributable for Visual Studio 2008 (x64 or x86).
  • If you want to convert an AI/EPS/PDF/PS file you need to install Ghostscript
  • Download the latest release and unpack the files into the bin directory of your project.
  • Add a reference to GraphicsMagick.NET-x64.dll, GraphicsMagick.NET-x86.dll or GraphicsMagick.NET-AnyCPU.dll in your project.

Q8, Q16?

Versions with Q8 in the name are 8 bits-per-pixel component (e.g. 8-bit red, 8-bit green, etc.), whereas, Q16 are 16 bits-per-pixel component. A Q16 version permits you to read or write 16-bit images without losing precision but requires twice as much resources as the Q8 version.


You only need to install Ghostscript if you want to convert EPS/PDF/PS files. Make sure you only install the version of GhostScript with the same platform. If you use the 64-bit version of Magick.NET you should also install the 64-bit version of Ghostscript. You can use the 32-bit version together with the 64-version but you will get a better performance if you keep the platforms the same.
Be aware that you need a license if you want to use Ghostscript commercially.


Because GraphicsMagick.NET embeds all the GraphicsMagickfiles you don't need to initialize the library. You can however decide to use your own mgk configuration files. See below for an example:

using System;
using GraphicsMagick;

namespace MagickExample
   internal class Program
      internal static void Main(string[] args)

Last edited Aug 25, 2014 at 7:19 AM by dlemstra, version 2