is there any Library for ePub
I want to write converter that gives me full control over converting PDF to ePUB? What i am looking is that the converter
- -should not cut the words in the end line. If a text is one paragraph then epub must be one paragraph without any additional space characters and cutted words.
- -should recognize the bookmarks in pdf document and should create a table of content (TOC) in epub version.
- shoul开发者_如何学Cd resize the images.
- should be in UTF8, its a must to be compatible for Turkish characters.
Please Suggest me any Library for this?
You might find Calibre (http://calibre-ebook.com/) of use. It supports PDF input, export to ePub and has command line utilities. I suspect, though, to achieve what you want you will need to pre-process the PDF with one of the standard PDF libraries to extract the required metadata, resize the images etc.
If you do go to the trouble of doing extensive pre-processing on the PDF you may as well write the ePub directly since it will be a relatively small additional step and removes the dependency on calibre or similar.
Let us know if you do find some good PDF-ePub libraries.
I have not had a go at it myself, but you may want to have a look at this.
精彩评论