OpenSencillo  2016.106
Long live the simplicity of PHP
 All Data Structures Namespaces Files Functions Pages
PDFtoJPG Class Reference

Public Member Functions

 convert ($name, $id=null, $pdfSource=null, $jpgOutDir=null, $quality=null)
 
 simulation ($name, $id=null, $pdfSource=null)
 
 pdfPathGenerator ($name, $id=null, $pdfSource=null)
 
 errorList ()
 
 inPath ($path)
 
 outPath ($path)
 

Data Fields

 $error =array()
 
 $path =array()
 

Detailed Description

Definition at line 11 of file imagick.convert.pdf2jpg.php.

Member Function Documentation

convert (   $name,
  $id = null,
  $pdfSource = null,
  $jpgOutDir = null,
  $quality = null 
)

Convert PDF to JPG via PHP imagick

Parameters
string$name(name input file)
number$id(numeric user id if system using id)
string$pdfSource(pdf source path)
string$jpgOutDir(jpg out root dir path)
Returns
number

Definition at line 27 of file imagick.convert.pdf2jpg.php.

errorList ( )

Get last error

Definition at line 132 of file imagick.convert.pdf2jpg.php.

inPath (   $path)

Path finder for testing

Parameters
string

Definition at line 141 of file imagick.convert.pdf2jpg.php.

outPath (   $path)

Path finder for testing

Parameters
string

Definition at line 151 of file imagick.convert.pdf2jpg.php.

pdfPathGenerator (   $name,
  $id = null,
  $pdfSource = null 
)

Convert simulation for generate path to source. Without ImageMagic php extension.

Parameters
string$name(name input file)
number$id(numeric user id if system using id)
string$pdfSource(pdf source path)
Returns
mixed

Definition at line 120 of file imagick.convert.pdf2jpg.php.

simulation (   $name,
  $id = null,
  $pdfSource = null 
)

Convert simulation

Parameters
string$name(name input file)
number$id(numeric user id if system using id)
string$pdfSource(pdf source path)
Returns
mixed

Definition at line 83 of file imagick.convert.pdf2jpg.php.


The documentation for this class was generated from the following file: