how to use ImageMagick for VC++(MFC) applications.?
Posted: 2012-08-01T23:45:42-07:00
Hi,
I am successfully able to use magick++ in C++ console applications. But I have issues regarding use of Magick++ to use in VC++ (MFC) apps. I have used simple code to read an image using magick++. But read function throws an exception of "Access violation writing location...".
<code>
Image image;
image.read("D:\\smile.gif");
image.rotate(145);
image.write("D:\\modified.gif");
</code>
Have anyone used ImageMagick library for vc++ apps.?
Regards,
I am successfully able to use magick++ in C++ console applications. But I have issues regarding use of Magick++ to use in VC++ (MFC) apps. I have used simple code to read an image using magick++. But read function throws an exception of "Access violation writing location...".
<code>
Image image;
image.read("D:\\smile.gif");
image.rotate(145);
image.write("D:\\modified.gif");
</code>
Have anyone used ImageMagick library for vc++ apps.?
Regards,