I am using Ghostscript API to convert PDF to single page TIFF images.
However i am getting an error:
java.io.IOException \
Temporary file \
C:\DOCUME~1\LOCALS~1\Temp\ghost4j\net.sf.ghost4j.document.PDFDocument \
cannot be deleted
This temporary file is created when Simplerenderer object renders the document and saves in List≶image>.
Can this temporary file be deleted during process run? Do i have to use some wait method for the process to complete? Is there any lock involved?