Quote:
Originally Posted by rkomar
Do what? Somehow verify the license?
If you mean convert PDF to EPUB, then it probably wouldn't be a simple script. The PDF structure is well defined and public knowledge, you can get the reference manuals for it from Adobe. It is, however, really complicated. PDF files are mostly giant programs to be executed within a state engine for rendering pixels in an image, quite different from something put together using a markup language like EPUB. You could do a rough job by scraping the data out of the program, but that would miss a lot of what else is in there, and would also depend on the data being placed in some acceptable order within the program (which it doesn't have to be).
|
I don't think it would be very difficult at all, actually. Depends on the nature of the PDF, of course. Even if it's just images, it may be doable. It's just a matter of leveraging already existing tools. pdftotext, pdftohtml, pdftops and pdftodvi all already exist. I've never tried to make an epub before so I would need to read up on the structure. Anyway, its not something I have time for anytime soon, I was just commenting that $99 bux seems high for something that could probably be scripted out in 20 minutes.