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
 Saving TIEMultiBitmap to IOMSCWPPDF

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
w2m Posted - Jul 01 2017 : 14:44:12
if not AIEMultiBitmap.Write(iFilePath, iomscWPPDF) then
[dcc64 Error] Unit1.pas(2072): E2250 There is no overloaded version of 'Write' that can be called with these arguments?

How to save TIEMultiBitmap to WPPDF file?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
6   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 11 2017 : 22:48:22
Sorry Bill,

I missed your response.

I've just tested under 64bit and did not encounter an error. wpcubed_pdf_plugin.pas is now included with the ImageEn source, so ensure you delete any other versions that are on your compilation path.

Also, ensure that you also updated the source in the folder used for 64bit Delphi compilation.

Failing that, you might want to step into the ImageEn code to see where it is failing.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Jul 10 2017 : 08:51:45
Please reply. Can the demo be compiled with Win64 and save pdf without error?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
w2m Posted - Jul 07 2017 : 10:33:57
Hi Nigel,

I managed to get logged into Git and recompiled the demo with the latest Git update and it now saves correctly with Win32, but it still fails with Win64. Did you change wpcubed_pdf_plugin.pas?

With Win64 it fails here: if not AIEMultiBitmap.Write(iFileName) then
The result is False.

I have ielib64.dll, wp_type1ttf.dll, wp_type1ttf64.dll, wPDFViewDemo04.dll, wPDFViewMKIMG04.dll and wPDFViewMKIMG04x64.dll in the exe folder.

This is difficult to understand because a Win64 app with TImageENMView does not produce and IO error when saving a pdf file even though the same dlls are used.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
xequte Posted - Jul 06 2017 : 19:19:08
Hi Bill

It saves correctly for me with your demo. Are you using the latest source from Git?

What is the error that you encounter?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Jul 03 2017 : 10:13:06
Nigel,

Thanks, but attached is a small demo that fails to save pdf files with a TIEMultiBitmap. I can save tiff and ico with no problem, but pdf will not save with ImageEnVersion 7.0.

attach/w2m/201773101218_IEMultiBitmap.zip
58.68 KB

Is there a problem?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
xequte Posted - Jul 02 2017 : 23:38:45
Hi Bill

If you call:

IEMultiBitmap.Write( 'D:\File.pdf' ) and WPPDF is registered, then it will default to iomscWPPDF format.

Otherwise, download the latest version from Git. I have added File Format as a parameter.


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