We have recently upgraded to spire.pdf version 7.4 ( license purchased)
Below issue was there even before upgrade and we were expecting some improvements there
Observed performance issues while extracting image from PDF
- High CPU utilization
- TIme taken to extract the images
its considerable even for a pdf file having 30 pages
Below is how we are using it.
Please suggest alternatives to overcome these issues .
We need to pass 300, 300 resolution as we use images for OCR further.
using (var image = this.pdfDocument.SaveAsImage(i, Spire.Pdf.Graphics.PdfImageType.Bitmap, 300, 300))
{
imageInfo.Image = ImageToByteArray(image);
}