Quantcast
Channel: Ghostscript.NET
Viewing all articles
Browse latest Browse all 393

New Post: save pdf as image tiff ccitg4

$
0
0
The only concern I have is the speed at which this line is executed:
var img = rasterizer.GetPage(desiredDpi, desiredDpi, pageNumber);
On a pdf with ~1MB page size and 150 DPI it's ~1.5-2 seconds and I have some PDFs with 35 or more pages+. It takes me between 45 and 60 seconds to convert a 35-page PDF.

I'm actually using this to downconvert the pdfs into something more manageable. Unfortunately changing the size of the source PDF at this point is not going to happen.

Is there anything I can do to optimize the GetPage() process? DPI has to stay at 150, any lower and the pdf becomes unreadable.

Thanks.

Viewing all articles
Browse latest Browse all 393

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>