1
Vote

Trying to open file in GhostScript rasterizer

description

I'm trying to implement your method from here Rasterize to allow me to rasterize pdf into collection of images.

When I try to open pdf file
_rasterizer.Open(inputPdfPath, _lastInstalledVersion, false);
I get this error: An error occured when call to 'gsapi_init_with_args' is made: -15

What can be a reason for it. I've checked the file path and it seems to be correct

Thanks

comments

bartek4c wrote May 26, 2015 at 9:52 AM

Please ignore, bug in code.

flipnode wrote Oct 5, 2015 at 3:38 PM

Try

_rasterizer.Open(inputPdfPath, _lastInstalledVersion, true);