View Single Post
Old 08-30-2018, 10:36 PM   #42
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,058
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Quote:
Originally Posted by sealbeater View Post
This makes me want to write a script that can do it.
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).
rkomar is offline   Reply With Quote