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

Recommend this page to a friend!

  Author  
Picture of Satish Kumar
Name: Satish Kumar <contact>
Classes: 6 packages by
Country: Australia Australia
Age: 41
All time rank: 2123 in Australia Australia
Week rank: 246 1 in Australia Australia
Innovation award
Innovation award
Nominee: 3x

Winner: 2x


  Detailed description   Download .zip .tar.gz   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

Details

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.

Requirements

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).

Usage

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 .zip .tar.gz  >  Support forum (13)  >  Blog  >  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: 7592 users
All time rank: 239
Week users: 0 users
Week rank: 105
 
  Groups   User ratings   Applications   Files  

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


  Recommendations  

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
Winner


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.

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

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

Install with Composer - Download all files: pdf2jpg_flipbook.tar.gz pdf2jpg_flipbook.zip
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.