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 and Ghostscript FAQ

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
xequte Posted - Feb 13 2014 : 20:12:22
Hi

Please note that ImageEn supports two methods of using ImageMagick to add support for more file formats:

1. ImageMagick.DLL

The DLL is based on a much older version of ImageMagick and so does not support as many formats, nor does it support Ghostscript (for loading of PDF files)

To use, you must add the ImageMagick.DLL (available from the registered users page) to your EXE folder. Then call:

IEAddExtIOPlugIn('imagemagick.dll'); (or IEAutoLoadIOPlugins)


2. ImageMagick Installation

ImageEn can support inherit support for all ImageMagick formats if it has been installed on the destination machine.

To do so you must call (once in your application):

TIEMiscPluginsImageMagick.RegisterPlugin(); (or IEAutoLoadIOPlugins)


You can download ImageMagick from:

http://www.imagemagick.org/script/binary-releases.php#windows

You will need one of the versions that includes DLL in the filename. Choose 64bit if you are sure that the O/S will always be 64bit, otehrwise just use the x86 version. Ensure you restart after installing ImageMagick.

Note: ImageMagick is licensed under Apache, which is not overly restrictive (View details)


GhostScript Support

The newer version of ImageMagick also supports Ghostscript to add support for loading of PDF and PS files (as rasterized images), i.e. you must install ImageMagick and Ghostscript to support PDF/PS.

You can download Ghostscript from:

http://www.ghostscript.com/download/gsdnld.html

Note: Ghostscript is licensed using the GNU Affero Public License (AGPL) which limits its distribution in commercial products and may require a commercial license.


To support PCL files you will also need to download GhostPCL from:

http://www.ghostscript.com/download/gpcldnld.html

Copy the exe file from the zip to your ImageMagick path and rename it pcl6.exe

Note: GhostPCL is licensed using the GNU Affero Public License (AGPL) which limits its distribution in commercial products and may require a commercial license.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Dec 28 2020 : 17:27:30
Please note that we have newer versions of the ImageMagick plug-in (7.0.10) at:

https://www.imageen.com/download/

Nigel
Xequte Software
www.imageen.com
xequte Posted - Sep 17 2014 : 16:18:47
Also, there is now an ImageMagick demo and images:

\Demos\InputOutput\ImageMagick\ImageMagick.dpr

Or on our Demos page:

www.imageen.com/demos/index.html#InputOutput



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
xequte Posted - Sep 17 2014 : 16:18:08
Hi

Remember when installing ImageMagick to download the version that matches the bitness of the application you are compiling. I.e. if you are creating a 32bit application in Delphi then ensure that you install the 32bit verison of ImageMagick.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
xequte Posted - Feb 13 2014 : 20:46:18
Some users have asked if ImageMagick (latest version) can be used by ImageEn without installing it.

I believe it is possible to distribute the ImageMagick files, but you will need to specify some environment variables: MAGICK_CODER_MODULE_PATH and MAGICK_FILTER_MODULE_PATH

Please see the following links for more info:

http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=17319
http://www.imagemagick.org/script/advanced-windows-installation.php
http://stackoverflow.com/questions/3050347/packaging-an-application-that-uses-the-imagemagick-c-api

Note: I understand that this is permitted by the ImageMagick license, but you should clarify this for yourself


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com