Hi
You are probably using PDFium for your saving (ActivePDFEngine = ieenDLL), which does not support compression options:
http://www.imageen.com/help/TIEGlobalSettings.PDFEngine.html
To use compression set:
IEGlobalSettings().PDFEngine := ieenNative;
e.g.
// Load a PDF as a rasterized bitmap (using PDFium), add a watermark, and then save (natively)
IEGlobalSettings().PDFEngine := ieenDLL;
bmp.LoadFromFile( 'D:\document.pdf' );
bmp.Proc.TextOut( Align_Text_Horz_Center, Align_Text_Near_Bottom, 'www.ImageEn.com', 'Arial', 32, clRed, [fsBold] );
IEGlobalSettings().PDFEngine := ieenNative;
bmp.Params.Params.PDF_Compression := ioPDF_JPEG;
bmp.SaveToFile( 'D:\document_WM.pdf' );
Nigel
Xequte Software
www.imageen.com