Class Asido_Driver_Imagick_Shell

Description

Asido "Imagick" driver (via shell)

Located in /class.driver.imagick_shell.php (line 41)

Asido_Driver
   |
   --Asido_Driver_Shell
      |
      --Asido_Driver_Imagick_Shell
Direct descendents
Class Description
 class Asido_Driver_Imagick_Shell_Hack Asido "Imagick" driver (via shell) with some of the unsupported methods hacked via some work-arounds.
Variable Summary
 array $__mime
Method Summary
 Asido_Driver_Imagick_Shell Asido_Driver_Imagick_Shell ()
 boolean is_compatible ()
 Asido_TMP __canvas (integer $width, integer $height, Asido_Color &$color)
 boolean __copy (Asido_TMP &$tmp_target, Asido_TMP &$tmp_source, integer $destination_x, integer $destination_y)
 boolean __crop (Asido_TMP &$tmp, integer $x, integer $y, integer $width, integer $height)
 boolean __flip (Asido_TMP &$tmp)
 boolean __flop (mixed &$tmp, Asido_Image &$image)
 boolean __grayscale (Asido_TMP &$tmp)
 boolean __open (Asido_TMP &$tmp)
 boolean __resize (Asido_TMP &$tmp, integer $width, integer $height)
 boolean __rotate (Asido_TMP &$tmp, float $angle, Asido_Color &$color)
 Asido_TMP __tmpimage (mixed &$handler, [string $filename = null])
 boolean __write (mixed &$tmp, Asido_Image &$image)
Variables
array $__mime = array(

// support reading
//
'read' => array(

),// support writing
//
'write'=>array())
(line 49)

Maps to supported mime types for saving files


Redefinition of:
Asido_Driver::$__mime
Maps to supported mime types
Methods
Constructor Asido_Driver_Imagick_Shell (line 80)

Constructor

Asido_Driver_Imagick_Shell Asido_Driver_Imagick_Shell ()
is_compatible (line 105)

Checks whether the environment is compatible with this driver

  • access: public
boolean is_compatible ()

Redefinition of:
Asido_Driver::is_compatible()
Checks whether the environment is compatible with this driver
__canvas (line 342)

Get canvas

  • access: protected
Asido_TMP __canvas (integer $width, integer $height, Asido_Color &$color)

Redefinition of:
Asido_Driver::__canvas()
Get canvas
__copy (line 169)

Copy one image to another

  • access: protected
boolean __copy (Asido_TMP &$tmp_target, Asido_TMP &$tmp_source, integer $destination_x, integer $destination_y)
  • Asido_TMP &$tmp_target
  • Asido_TMP &$tmp_source
  • integer $destination_x
  • integer $destination_y

Redefinition of:
Asido_Driver::__copy()
Copy one image to another
__crop (line 268)

Crop the image

  • access: protected
boolean __crop (Asido_TMP &$tmp, integer $x, integer $y, integer $width, integer $height)
  • Asido_TMP &$tmp
  • integer $x
  • integer $y
  • integer $width
  • integer $height

Redefinition of:
Asido_Driver::__crop()
Crop the image
__flip (line 292)

Vertically mirror (flip) the image

  • access: protected
boolean __flip (Asido_TMP &$tmp)

Redefinition of:
Asido_Driver::__flip()
Vertically mirror (flip) the image
__flop (line 315)

Horizontally mirror (flop) the image

  • access: protected
boolean __flop (mixed &$tmp, Asido_Image &$image)

Redefinition of:
Asido_Driver::__flop()
Horizontally mirror (flop) the image
__grayscale (line 194)

Make the image greyscale: not supported

  • access: protected
boolean __grayscale (Asido_TMP &$tmp)

Redefinition of:
Asido_Driver::__grayscale()
Make the image greyscale
__open (line 417)

Open the source and target image for processing it

  • access: protected
boolean __open (Asido_TMP &$tmp)

Redefinition of:
Asido_Driver::__open()
Open the source and target image for processing it
__resize (line 143)

Do the actual resize of an image

  • access: protected
boolean __resize (Asido_TMP &$tmp, integer $width, integer $height)
  • Asido_TMP &$tmp
  • integer $width
  • integer $height

Redefinition of:
Asido_Driver::__resize()
Do the actual resize of an image
__rotate (line 219)

Rotate the image clockwise: not supported

  • access: protected
boolean __rotate (Asido_TMP &$tmp, float $angle, Asido_Color &$color)

Redefinition of:
Asido_Driver::__rotate()
Rotate the image clockwise

Redefined in descendants as:
__tmpimage (line 377)

Generate a temporary object for the provided argument

  • access: protected
Asido_TMP __tmpimage (mixed &$handler, [string $filename = null])
  • mixed &$handler
  • string $filename: the filename will be automatically generated on the fly, but if you want you can use the filename provided by this argument

Redefinition of:
Asido_Driver::__tmpimage()
Generate a temporary object for the provided argument
__write (line 488)

Write the image after being processed

  • access: protected
boolean __write (mixed &$tmp, Asido_Image &$image)

Redefinition of:
Asido_Driver::__write()
Write the image after being processed

Inherited Methods

Inherited From Asido_Driver_Shell

 Asido_Driver_Shell::__command()
 Asido_Driver_Shell::__destroy_source()
 Asido_Driver_Shell::__destroy_target()
 Asido_Driver_Shell::__exec()

Inherited From Asido_Driver

 Asido_Driver::convert()
 Asido_Driver::copy()
 Asido_Driver::crop()
 Asido_Driver::flip()
 Asido_Driver::flop()
 Asido_Driver::frame()
 Asido_Driver::get_supported_types()
 Asido_Driver::grayscale()
 Asido_Driver::is_compatible()
 Asido_Driver::prepare()
 Asido_Driver::resize()
 Asido_Driver::rotate()
 Asido_Driver::save()
 Asido_Driver::supported()
 Asido_Driver::watermark()
 Asido_Driver::__canvas()
 Asido_Driver::__copy()
 Asido_Driver::__crop()
 Asido_Driver::__destroy_source()
 Asido_Driver::__destroy_target()
 Asido_Driver::__flip()
 Asido_Driver::__flop()
 Asido_Driver::__grayscale()
 Asido_Driver::__open()
 Asido_Driver::__resize()
 Asido_Driver::__rotate()
 Asido_Driver::__tmpfile()
 Asido_Driver::__tmpimage()
 Asido_Driver::__write()

Documentation generated on Mon, 09 Apr 2007 23:57:05 +0300 by phpDocumentor 1.3.0RC4