ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageMagick.dll vs ImageMagickObject.dll
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

gbimage

Italy
10 Posts

Posted - Jan 04 2016 :  03:20:46  Show Profile  Reply
Hi,
In order to use the ImageMagick DLL, I installed ImageMagick as explained here: http://www.imageen.com/ieforum/topic.asp?TOPIC_ID=1464 - (Point 1. ImageMagick.DLL)

Of course, I installed the dynamic 'DLL' version. The current version is 6.9.3-0.

At end of installation, the ImageMagick.dll was absent. Thus I reinstalled by checking 'Install ImageMagickObject OLE Control'.
ImageMagick.dll is ever absent, but ImageMagickObject.dll is available. Its creation date is very recent: Jan 2 2016.

So I don't understand if I am doing something wrong, or if the ImageMagick.dll is deprecated and ImageMagickObject.dll is the new issue.

However, I copied the file to the directory of my exe project and loaded ImageMagickObject.dll by adding the plugin before opening a FITS file (in C++ Builder XE7):

IEAddExtIOPlugin("ImageMagickObject.dll");
// it returns zero
ImageEn1->IO->LoadFromFile("C:\\Temp\\MyFile.fit");
// the image is not loaded

Does someone help me to understand how to proceed?

Thanks in advance,
Giovanni

xequte

38947 Posts

Posted - Jan 06 2016 :  17:50:09  Show Profile  Reply
Hi Giovanni

Firstly, there are two ways to support ImageMagick. Either download the ImageMagick.dll from our web page (registered users page) or install ImageMagick (in which case you don't need the DLL).

The ImageMagick DLL uses an older version of ImageEn, but you can ship it with your EXE. Your call will need to call:

IEAddExtIOPlugin("ImageMagick.dll"); ).


If you install ImageMagick, then your users will also need to install ImageMagick. You need to call:

TIEMiscPluginsImageMagick.RegisterPlugin();

And ensure you isntall the correct bitness. E.g. 32bit ImageMagick if you are creating an 32bit EXE in Delphi.

Also, see the "ImageMagick Plug-In" demo in your ImageEn InputOutput demos folder.




Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: