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
 Open PDF, Inject File Metadata - How ?

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
andyhill Posted - Nov 06 2022 : 01:29:09
I do not see how to inject PDF File Metadata correctly, please advise - thanks.

ie:= TImageEnView.Create(nil);
ie.IO.LoadFromFilePDF(FullyQualifiedPdf);
ie.IO.Params.PDF_Author:= 'Me';
ie.IO.Params.PDF_Subject:= Subject;
ie.IO.Params.PDF_Creator:= 'Me';
ie.IO.Params.PDF_Producer:= 'Me';
//
ie.IO.Params.EXIF_HasEXIFData:= True; // ??? Not Really EXIF ???
ie.IO.InjectJpegEXIF(FullyQualifiedPdf); // ??? No Inject PDF Method ???
ie.Free;


Andy
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 06 2022 : 14:22:35
Hi Andy

There is no injection method for PDF. You should just use the standard SaveToFilePDF() method. The PDF file will be converted to an image only PDF with a single page using this method.

Nigel
Xequte Software
www.imageen.com