Document PDF export works poorly on some EMF images.

  • Hello,


    In a TWRichtext document, I integrated an EMF image.


    When I print this document on my printer, this image is correct.
    When I print this document to PDF Creator, my image is also correct.
    When I directly generate a PDF with WPDF, my image is degraded.


    I use the following code :

    Code
    1. TWPPDFExport *pdf = NULL;
    2. pdf = new TWPPDFExport(NULL);
    3. pdf->Source = reCourrier; //The TWPRichText
    4. pdf->Filename = SaveDialog1->FileName; /
    5. pdf->Print();


    I have not found an option to influence the export of EMFs in the pdf file. Is there a solution ?



    To help you, you can download this link: EDIT - download link removed -
    - EICF546.tmp.EMF: The file that I integrate with TWPRichEdit
    - WPDF Result.png: A screenshot of the PDF obtained with wPDF.


    Thank you for help.

  • I cannot see that example file (and now removed the link)


    You are welcome to send your example to support at wptools.de so I can try it out.


    It depends a lot on the EMF file, some can be really complicated. But in general wPDF supports those very well and does not convert to bitmap.