Magick++ on windows

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
imagetester

Magick++ on windows

Post by imagetester »

Well I' m new to Image Magick, and i want to use it with C++ on Windows.

So I'll use Magick++, so what would be the steps to be able to compile a program using the Magick++.h library ?

In other words i want to #include <Magick++.h> using Microsoft Visual C++ (express edition).

I would appreciate your clear explanation, thanks in advance.


( NB: I've installed the ImageMagick-6.4.2-1-Q16-windows-dll.exe )
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Magick++ on windows

Post by magick »

To get started with Magick++, try one of the demostration projects available with the ImageMagick Windows binaries. After installing, move to this folder: c:\Program Files\ImageMagick-6.4.2-Q16\Magick++_Demos and launch the Button project. Build and execute. Assuming all goes well, use the Button project as a template as your own Magick++ project.
imagetester

Re: Magick++ on windows

Post by imagetester »

MM first of all thanks, yes I've been able to build and execute, BUT i didn't quite get what to do if i wanna create a new project outside the Magick++_Demos folder.

I've done what u said : removed the button from the project and added a new one button2.cpp here i was able to compile ( use the <Magick++.h> with no fatal error).
Is this what you mean by template, is there any other alternative to compile a file in another address ?!?

Thanks,
Post Reply