I am using the library to convert pdf pages to jpg images using the JpgDevice class and its Process method into a memory stream.
e.g.
jpegDevice.Process(page, ms)
In a production application this method is taking 5-6 seconds for each page this is called for.
So the first thing I did was to create a test project (attached to this post) to try and reproduce this on my system, the same system running running the mentioned production code where the slowness exists. This test project does not reproduce the issue even though I am doing my best to mimic the environment. Same object setup and using the same pdf document.
Does anyone have any idea why I would see difference in speed, and how this could be resolved?