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 & PDF

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
bmesser Posted - Sep 14 2014 : 09:59:13
Hi

I am trying to load and view a PDF using a TImageEnView component and the ImageMagick plugin as outlined in the help.

I have installed ImageMagick and the Ghost Script libraries as instructed, and tested that ImageMagick works from the command line, which it is.

When I run the code from the help file to display my PDF, I get no errors but no PDF. I then added this line to see if the plugin was available:

TIEMiscPluginsImageMagick.IsAvailable


but that comes back false so the plugin is not being activated.

I have installed the latest version of ImageMagick: ImageMagick-6.8.9-7-Q16-x64-dll.exe
and the latest version of the Ghost Script library: gs914w32.exe

I am using the latest version of ImageEN on a Windows 7 PC with Delphi XE6. Has anyone else had problems displaying a PDF or is it something I've missed?

Bruce.
13   L A T E S T    R E P L I E S    (Newest First)
bmesser Posted - Sep 23 2014 : 07:28:19
Nigel

I always figured that because the installer installed ImageEN as a series of BPL's that I never could see any of the source code at design time in any of the various components that I use, so I never have traced anything relating to ImageEN back to the original source code.

LoadfromURL works for all image formats apart from PDF and I use it extensively, although I will admint I've never tried downloading SVG either.

Bruce.
xequte Posted - Sep 22 2014 : 14:43:44
Hi Bruce

Hmmm, that's odd, all supported format should load. Did you try stepping into the ImageEn code to see where it was failing?

Have you tested LoadFromURL with other formats, JPEG and SVG, in particular?

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
bmesser Posted - Sep 19 2014 : 04:29:05
Nigel

One final question!

I can't seem to get the LoadFromURL call to work with PDF's - has this functionality not been added for the PDF format, or is it just me?

Bruce.
xequte Posted - Sep 17 2014 : 16:19:50
Hi Bruce

The bitness issue is an easy one to overlook.

The demo only shows how to load the plug-in and retrieve the list of supported formats:

http://www.imageen.com/ieforum/topic.asp?whichpage=2&TOPIC_ID=1446#6574

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
bmesser Posted - Sep 17 2014 : 05:58:46
Nigel

Yes, swapping to the 32 bit version fixes it - so stupid of me not to have installed the 32 bit version.

I look forward to having a look at your demo and see what ImageEn offers when you have a PDF - or an SVG come to that - loaded.

Bruce.
xequte Posted - Sep 16 2014 : 23:39:44
Hi Bruce

I'm working on an ImageMagick demo now.

One thing to consider is that the installed version of ImageMagick should match the bitness of your application. I.e. if you are creating a 32bit Delphi application, ensure you have installed the 32bit version of ImageMagick.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Uwe Posted - Sep 16 2014 : 13:54:22
Thanks, Nigel.

-Uwe
bmesser Posted - Sep 16 2014 : 08:49:01
Nigel

Do I use the same ImageMagick plugin and code exactly like I do for a PDF?

If so I don't get anything either when I try and load one of the examples in the zip file.

Or do I need to include something else?

I don't see any help for loading an SVG, in fact I didn't even realise I could do it!

Bruce.

xequte Posted - Sep 15 2014 : 22:53:43
@Uwe: Since v5.0.6 ImageEn will automatically support ImageMagick (and thereupon Ghostscript) if they are installed on the system.

@Bruce: Sorry, I meant using an ImageEnView.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Uwe Posted - Sep 15 2014 : 16:09:29
Nigel

Since when is it possible to use the original ImageMagick DLL's with ImageEn? I thought you have to stick with the DLL that is provided by you guys.

Cheers
Uwe
bmesser Posted - Sep 14 2014 : 23:28:15
Nigel

I can display 2 out of the 3 SVG files from the Zip file you attached
in the IMDisplay application that comes with ImageMagick if that's what you mean.

Bruce.
xequte Posted - Sep 14 2014 : 22:06:17
Hi Bruce

First, clarify the issue relates to the ImageMagick installation. Are you able to view other ImageMagick files that do not require Ghostscript, such as SVG:

www.xequte.com/temp/svg_files.zip


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Uwe Posted - Sep 14 2014 : 13:27:19
Bruce,

If I were you I wouldn't waste my time with ImageMagick and Ghost Script. Just use a simple TWebBrowser to display the PDF files (requires Acrobat Reader to be installed). Much less complicated.

-Uwe