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
 How to open PDF using ImageMagic and GhostScript ?

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
graph_man Posted - Mar 05 2024 : 14:45:43
I want to open PDF using ImageMagic and GhostScript.

Installed the ImageMagic plugin from the developer's website and connected it to the program (checked the registraration).
The GhostScript plugin is installed.

Use
ImageEnView1->LoadFromFile (or LoadFromFilePDF)

I get an error about the absence of iepdf32.dll (But I wouldn't like to use PDFium)
7   L A T E S T    R E P L I E S    (Newest First)
graph_man Posted - Mar 08 2024 : 03:19:19
Thank you.
xequte Posted - Mar 07 2024 : 19:57:16
For ImageMagick you need to set the density:

ImageEnView1.IO.Params.Dict.Clear();
ImageEnView1.IO.Params.Dict.Insert( 'ImageMagick:Density', 200 );
ImageEnView1.IO.LoadFromFile( 'D:\doc.pdf' );

Nigel
Xequte Software
www.imageen.com
graph_man Posted - Mar 07 2024 : 07:25:04
The error is gone. Thank you.
Where is the quality (resolution) of the resulting raster images of a PDF file set?
xequte Posted - Mar 06 2024 : 19:27:06
Hi

It is a class method, so that should read:

TIEMiscPluginsImageMagick::RegisterPlugin(MyImageMagickPath, true);

Nigel
Xequte Software
www.imageen.com
graph_man Posted - Mar 06 2024 : 07:02:36
TIEMiscPluginsImageMagick->RegisterPlugin(MyImageMagickPath, true);

[BCC32 Error] Unit9.cpp(50): E2108 Improper use of typedef 'TIEMiscPluginsImageMagick'

ImageEn 13.0.0
C++ Builder 2010
graph_man Posted - Mar 06 2024 : 06:57:27
Hi,

I use

IEGlobalSettings()->RegisterPlugIns(MyImageMagickPath, TIEPlugIns() << iepiImageMagick);

This is not enough?
xequte Posted - Mar 05 2024 : 15:13:37
Hi

At the start of your application, please call:

TIEMiscPluginsImageMagick.RegisterPlugin( '', True );

https://www.imageen.com/help/TIEMiscPluginsImageMagick.RegisterPlugin.html


Nigel
Xequte Software
www.imageen.com