T O P I C R E V I E W |
gbimage |
Posted - Jan 04 2016 : 03:20:46 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
|
1 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Jan 06 2016 : 17:50:09 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
|
|
|