I'm developing a REST API in the Slim framework, it is used by web browser and Android devices.
It is on online books library. Most books are in PDF format.
Requirements for the code library:
- The book must be sent page by page, because some books are large.
- Text from books must not be copiable.
- A simple user should not the have opportunity to save pages.
(Of course advanced users can find a solution for that).
For this purpose, I need a PDF reader SDK (not necessary php) to read a PDF page by page. I'm thinking about an sdk which can read the pdf, save one page to an image, then send that as response.