Hi,
First of all, great library. I am playing around with it for a number of different scenarios. However I have noticed some performance issues. I was wondering whether I am doing something wrong?
So I am trying to run this code with a standard 10 page PDF (paper from google scolar) on a machine with 6 cores and 24GB of ram.
I enabled logging and posted the output http://pastebin.com/Jc4XR4Mr
First of all, great library. I am playing around with it for a number of different scenarios. However I have noticed some performance issues. I was wondering whether I am doing something wrong?
So I am trying to run this code with a standard 10 page PDF (paper from google scolar) on a machine with 6 cores and 24GB of ram.
if (!File.Exists(pathOfPdf))
throw new FileNotFoundException("Invalid path");
var settings = new MagickReadSettings
{
Density = new MagickGeometry(595,841)
};
using (var images = new MagickImageCollection())
{
images.Read(pathOfPdf, settings);
//do stuff with pages here
}
However it takes a couple of minutes to completes and eats up about 1,5GB of memory which seems kind of excessive for this kind of basic operation.I enabled logging and posted the output http://pastebin.com/Jc4XR4Mr