mephraim/ghostscriptsharp — Issue #3: InitAPI() throws -100 for >10 pages
Author: kchakraborti
Created: 2011-11-03 18:37:40+00:00
State: open

Thanks for the great code!
I am trying to convert a multi page PDF into bunch of PNGs.
The same code works for all PDFs with page count <11 but InitAPI() blows up with error code -100 if page count is 11 or more. I wonder if there should be a different format for generating unique file name that GhostScript takes as part of sOutputFile argument instead of %d.jpg? Or is this related to something else?
Thanks in advance.