SynPDF Library x Delphi - "Out of memory" when exporting images to PDF

0

Use the SynPDF library in Delphi to generate PDFs of system reports. The generated report ( pReport ) allows at run time through a loop I to go through all the generated items ( label's, shape's, images and etc ) and within that loop I go Assembling a PDF.
Works perfectly except with images ...: /
I use the command lPdf.VCLCanvas.StretchDraw(Rect,Picture.Graphic);
With one or two images in the report, blz ... no problem.
But when I have more images, sometimes OutOfMemory occurs or sometimes only exports a few images - - 3 or 4.

Does anyone work with this library or have any suggestions on how to resolve this issue?

PS: I do not use mORMot ( even within the library ).

    
asked by anonymous 12.04.2018 / 13:40

0 answers