It would be insane if you could just upload a pdf and the pages from the pdf become the book.

Comments

l_arbalette’s picture

sure, it would be nice !

maybe some script at PDF upload saying something like :
1) convert PDF pages as JPG images : pdftoppm -f 1 -jpeg "$FILE" "$FILE".jpg. It will create a JPG image for each page.
2) Then resize the JPG to the book size for both 720 and 1080 resolution with Imagemagick tool :
convert -resize '640x720>' "$FILE" "720resized_$FILE"
convert -resize '960x1080>' "$FILE" "1080resized_$FILE"
3) automatically create the pages nodes, 1 chapter fed with the pages in the same order than the PDF, and 1 book fed with the chapter.

I guess that's doable, but since I'm completely n00b with PHP & Drupal for the moment....!

david3000’s picture

subscribe!

Anonymous’s picture

Im a n00b too!

If you are looking for similar functionality there is a awesome website www.issuu.com and they are a plugable pageflip . Its 3rd party of course but very well done. You have to pay to not have ads in the book though :(

vako’s picture

I'm using the Apture (www.drupal.org/project/apture) module that makes it happen with a lot of ease.
Just put the link to a PDF file and it will make it open in a flip-book format, without people leaving your site.

56rosa’s picture

Thanks for sharing

readingebook’s picture

As for turning PDF to pageflip, this flip page software can be used. I notice that the page flipping book made by it looks very beautiful like real book.