PHP Classes

Flipbook PHP PDF to JPG: Convert PDF files to JPEG images using ImageMagick

Recommend this page to a friend!

  Author Author  
Picture of Satish Kumar
Name: Satish Kumar <contact>
Classes: 6 packages by
Country: Australia Australia
Age: 43
All time rank: 2093 in Australia Australia
Week rank: 93 Up2 in Australia Australia Up
Innovation award
Innovation award
Nominee: 3x

Winner: 2x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to convert PDF documents to JPEG images using ImageMagick.

It uses ImageMagick convert tool and Ghostscript to generate JPEG images from given PDF files. The resulting images are stored in separate directory.

The class also generates ZIP archive with a the images and XML file in the Flip book format


Class to convert PDF file to JPG files and viewing the jpg files as flip book. Class also helps to zip flip book content into a single package.


Class requires "ImageMagicK, GhostScript and Zip" to be installed in the server. apt-get install imagemagick apt-get install zip

Tested in ubuntu (Linux environment).


Create following folder and give write permission CHMOD 777

  1. zip folder
  2. book folder
  3. book/img folder

Place index.htm inside the folder "book".

provides css effect and book flip effect.

Finally open config.php and change the variables

  Classes of Satish Kumar  >  Flipbook PHP PDF to JPG  >  Download Download .zip .tar.gz  >  Support forum Support forum (13)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Flipbook PHP PDF to JPG
Base name: pdf2jpg_flipbook
Description: Convert PDF files to JPEG images using ImageMagick
Version: 1.1
PHP version: 5.0
License: BSD License
All time users: 7660 users
All time rank: 233
Week users: 1 user
Week rank: 151 Up
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Graphics Colors, images, charts and picture formats View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes


What is the best PHP convert pdf to html class?
Need to convert PDF to HTML or format to embed in Web site

  Innovation Award  
PHP Programming Innovation award winner
April 2009

Prize: One copy of the Zend Studio
PDF is a very popular format for distributing documents that are ready to be printed.

Displaying PDF documents on a site, depends on the availability of browser plug-ins or external programs installed on the user machine.

This class provides a solution for extracting images of the pages of a PDF document, so it can be browsed on a Web site without depending on having the right plug-ins or programs installed in the user browser.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (93%) Good (84%) Sufficient (78%) Sufficient (65%) - - Sufficient (69%) 438
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Accessible without login Plain text file config.php Conf. Configuration file
Accessible without login Plain text file demo.php Example demo file to check class working
Plain text file digiBook.php Class Class to convert PDF to JPG, and package the files.
Accessible without login HTML file index.htm Data File to placed inside book folder
Accessible without login Plain text file readme.txt Doc. Instruction File

Install with Composer Install with Composer - Download Download all files: pdf2jpg_flipbook.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.