Open hl-a-k opened 6 years ago
I have the same problem using Windows 7:
hummus.createReader(pathToFile)
blocks the file it reads
How can it be 'closed' to move/delete/update the initial PDF file?
There are no problems on a mac so it may be specific windows problem
please refer https://github.com/galkahana/HummusJS/pull/276
that's cause win32 blocks other file pointers if ones opened for reading. you can either:
Thank you, it is a better way.
const inStream = new hummus.PDFRStreamForFile(f1);
var input = hummus.createReader(inStream);
....
inStream.close()
This Library is wonderful, but lack demo and doc.
Oh i defo second that
In Win 32, I use
hummus.createReader
to create a reader.And then I want to delete the file, but I found I can't do it, because reader don't release resource. The reader don't have end() method.