Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
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.