I have ImageEnMView with 500 images (greyscale,100 kB each). When i try execute: ImageEnMView.MIO.SaveToFilePDF('My.pdf') then after some time i have message "Out of memeory". My RAM = 4 Gb
Hi, you're right, this is a bug. Unfortunately each page of the resulting PDF is cached in memory, so to exhaust it soon. Next minor release will cache pages on disk, so to allow to create bigger PDFs.
In the mean time you could try to set a compression (like jpeg) to the PDF pages.
Ok, thank You for answer. And i so try after scan my 500 images (if save to JPG = 50-100 kB each): ... ImageEnMView1.MIO.Params[i].TIFF_JPEGQuality:=50; ImageEnMView1.MIO.Params[i].TIFF_Compression:=ioTIFF_JPEG ; ImageEnMView1.MIO.SaveToFileTIFF('MyFile.tif') ; ... After save - TIF file > 1GB (!!)... How i can make TIF real size (~25..50 Mb)?