Important facts about commercial licenses

  • Licenses are perpetual. They do not expire and do not need to be renewed.
  • Licenses can be upgraded. You can upgrade to a more expensive license later paying only the difference in cost.
  • Pay attention to the distribution type - Hosted (sites / servers), binary (applications) or source (includes all the others). Choose according to your needs (more below).
  • All licenses allow commercial use unless otherwise indicated.
  • Read the full license by clicking on the icon.
  • Read more about licenses in our handy license guide.
Free

Personal License

1 site, unlimited servers No source distribution
$4

Developer License

Unlimited projects Source and binary distribution
You need to log-in or create an account
  • Create an account
  • Log-in
  • Please use your real name.
  • Account activation link will be sent to this address.
  • Minimum 8 characters

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

(2 ratings)

PDF to JPG Converter

PDF to JPG Converter
Developed by Juan Sanchez, Released Apr 28, 2011

PDF to JPG Converter written in PHP utilizing GhostScript

PHP

Tags: converter , ghostscript , image , jpg

A simple PDF to JPG Converter written in PHP utilizing GhostScript for *nix systems. Automatically creates multiple sizes of the JPG file as denoted in the script.

Back to top

Release Notes

PRODUCT RELEASE INFORMATION

  • Product Name: PDF to JPG Converter
  • Release Number: 1.0.0
  • Release Date: April 28th 2011
  • Customer Support: For more information or support, please visit my website or email me at juan.sanchez@juanleonardosanchez.com

INTRODUCTION

This document contains the release notes for PDF to JPG Converter version 1.0.0. The following sections describe the release in detail and provide information that supplements the main documentation. This is the first public release for wide evaluation and usage. Your feedback is important to me, please help me make this the best PHP based PDF to JPG Converter script possible. Keep in mind that I am continuing to work on PDF to JPG Converter and things may change in the future as updates are released.

WHAT'S NEW?

Everything is new as this is the first release. It is as of now a simple script that can be called as a function. As time goes by and I receive more user feedback, I will update the script (free of charge to those who have purchased the script already of course) to create a more robust system.

INSTALLATION

Installation of this script for use is simple, painless and most of all, fast! You can simple drop the PHP file into a directory on your server, or you can copy the code (along with all the comments and licensing information) into your own PHP class.

HOW DO I USE IT?

Using the PDF to JPG Converter is easy! After you have followed the installation instructions above, simply call the following wherever you want to use it:

try{ ConvertMeDammit(the_file, the_quality, the_directory);
} catch(Exception $e){ echo $e->getMessage(); }

This will try to run the function, but if an error is encountered, it will throw an exception. Do note the following are required in the function call:

the_file: The PDF file you want to convert.

the_quality: The quality of the JPG files (must be in X00 format, ie: 400). The default for this is 600.

the_directory: The final directory where the JPG files will be stored.

MINIMUM SYSTEM REQUIREMENTS

  • System Processor: 800MHz
  • System Memory: 256MB
  • Free Disk Space: 1MB (plus any additional space required for the JPG files)
  • Operating System: Linux (kernel 2.4)
  • Networking: N/A
  • Required Software: GPL GhostScript 8.63 by Artifex Software, Inc. (http://pages.cs.wisc.edu/~ghost/doc/GPL/gpl863.htm)

COMPATIBILITY

Version 1.0.0 of PDF to JPG Converter may or may not work with GPL GhostScript releases prior to or after 8.63.

View all 1 reviews »

User Reviews

  • 0 of 1 people found this review helpful Prashant Sutariya 1 year ago
    The code library seems good. But the said sample code is not working. The installation documentation needs to provide more descriptive. Also, the dependency of the code is not mentioned.
    Flag
    Was this helpful? Yes No
Read all 1 comments »

Questions & Comments


Or enter your name and Email
  • perera malinda 4 weeks ago
    great job.Nice Work
You must be logged-in to vote. Log-in to your account or register now.