You are not logged in.
Pages: 1
To answer my own question...
I was using TGDIPages from SQLite3Pages.dcu which is the stand alone report generator. By including mORMotReport.dcu, ExportPDFForceJPEGCompression is available.
Setting ExportPDFForceJPEGCompression := 60 took my PDF document from 30+mb to 2mb.
Hi, Sorry if this has been answered elsewhere but I can't find the help I need.
I am using TGDIPages to create a PDF document by calling pdfDoc.ExportPDF('test.pdf', false, true).
The resulting PDF is quite large in filesize as it contains several JPEG images.
I have seen references to TPdfDocumentGDI.ForceJpegCompression but how do you use this on an instance of TGDIPages?
Thanks
Pages: 1