k2pdfopt library for koreader/kindlepdfviewer