Hi,
I am looking for some performance advice.
I currently have collections of single page tiff (20,000+ images a set) images B&W G4 that I am building into PDF's.
At the moment I am using the following code
Code:
XImage img = XImage.FromFile(tiffFile);
PdfPage imagePage = new PdfPage();
imagePage.Height = img.PointHeight;
imagePage.Width = img.PointWidth;
document.Pages.Add(imagePage);
pageCount = pageCount+1;
XGraphics xgr = XGraphics.FromPdfPage(document.Pages[pageCount]);
xgr.DrawImage(img, 0, 0);
With this I can add around 100 pages to a PDF a minute and I am wondering if I can get it any quicker. I have tried moving the data to an SSD but there was no noticible difference in performance. I was wonder if there is a more efficient way to do this.
Many thanks
Rob Kenny