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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageMagick.dll vs ImageMagickObject.dll

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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