First off, thanks for the great tool -- I've been using it for a while now with great success!
Today I tried using 0.9.211 to convert a pdf to epub (this particular file works in calibre but formats poorly), but java appears to be throwing an exception on this file 411 pages in:
Code:
Desire:Downloads$ soylatte16-i386-1.0.3/jre/bin/java -Xms200M -Xmx300M -jar LRFTools-v0.9.211.jar convertPDF ~/Desktop/ -EPUB
Loading 'In Death.pdf' 431 pages java.util.zip.ZipException: incorrect header check
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
at org.pdfbox.filter.FlateFilter.decode(FlateFilter.java:97)
at org.pdfbox.cos.COSStream.doDecode(COSStream.java:290)
at org.pdfbox.cos.COSStream.doDecode(COSStream.java:235)
at org.pdfbox.cos.COSStream.getUnfilteredStream(COSStream.java:170)
at org.pdfbox.pdmodel.common.COSStreamArray.getUnfilteredStream(COSStreamArray.java:200)
at org.pdfbox.pdfparser.PDFStreamParser.<init>(PDFStreamParser.java:101)
at org.pdfbox.pdmodel.common.COSStreamArray.getStreamTokens(COSStreamArray.java:141)
at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:202)
at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174)
at org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:110)
at lrf.pdf.PDFSerializer.procPDF(PDFSerializer.java:91)
at lrf.pdf.PDFSerializer.recurse(PDFSerializer.java:33)
at lrf.RecurseDirs.convertPDFActionParams(RecurseDirs.java:242)
at lrf.RecurseDirs.<init>(RecurseDirs.java:91)
at lrf.RecurseDirs.main(RecurseDirs.java:41)
Other PDF (and lrf) files I've tried work fine; it may be something particular to this file. Although the zip exception is odd....