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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 SaveToFilePDF: PDF Creator/Producer Confusion
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

1018 Posts

Posted - Dec 04 2025 :  02:37:18  Show Profile  Reply
Setting these parameters in ImageEnView 14.2.7:
IO.Params.PDF_Creator := 'My Application';
IO.Params.PDF_Producer := 'ImageEn PDFium';


PDF created by SaveToFilePDF shows these Document Properties in Adobe Acrobat Reader 25.1.20937.0:



Questions:

1. Shouldn't Adobe PDF Producer be "ImageEn PDFium"?

2. Where is 'My Application' in Adobe Document Properties?

The ImageEn Documentation says:

TIOParams.PDF_Creator
Specifies the application that created the original document.

TIOParams.PDF_Producer
Specifies the application that converted the image to PDF.

xequte

39297 Posts

Posted - Dec 04 2025 :  18:44:05  Show Profile  Reply

Yes, but please see the note, "This field is not saved if TIEGlobalSettings().PDFEngine is ieenDLL (PDFium), or using the IEVision PDF Generator". I'll improved the documentation to make it a bit clearer.

Unfortunately, at this time, PDFium does not provide a method to set meta-data.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

PeterPanino

1018 Posts

Posted - Dec 05 2025 :  03:26:20  Show Profile  Reply
Hi Nigel, can you please improve SaveToFilePDF to:

1. Correctly save the PDF_Producer field
2. Correctly save the PDF_Creator field to the name specified in PDF_Creator (the name of the Application)

Maybe it would be a good idea to implement this automatically in SaveToFilePDF, without requiring the PDF_Producer and PDF_Creator metadata fields to be specified explicitly unless they are expressly specified?

Thank you!
Go to Top of Page

xequte

39297 Posts

Posted - Dec 08 2025 :  13:52:47  Show Profile  Reply
Hi Peter

Until PDFium adds support for writing meta-data, it won't be available for the ieenDLL engine. However, you can just use the native PDF engine which supports meta-data:

IEGlobalSettings().PDFEngine := ieenNative;

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: