Class Asido_Driver_Imagick_Ext

Description

Asido "Imagick" driver (as extension)

Located in /class.driver.imagick_ext.php (line 25)

Asido_Driver
   |
   --Asido_Driver_Imagick_Ext
Direct descendents
Class Description
 class Asido_Driver_Imagick_Ext_Hack Asido "Imagick" driver (as extension) with some of the unsupported methods hacked via some work-arounds.
Variable Summary
 array $__mime
Method Summary
 Asido_Driver_Imagick_Ext Asido_Driver_Imagick_Ext ()
 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 __destroy_source (Asido_TMP &$tmp)
 boolean __destroy_target (Asido_TMP &$tmp)
 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 31)

Maps to supported mime types for saving files


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

Constructor

Asido_Driver_Imagick_Ext Asido_Driver_Imagick_Ext ()
is_compatible (line 76)

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

Get canvas

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

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

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

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
__destroy_source (line 349)

Destroy the source for the provided temporary object

  • abstract:
  • access: protected
boolean __destroy_source (Asido_TMP &$tmp)

Redefinition of:
Asido_Driver::__destroy_source()
Destroy the source for the provided temporary object
__destroy_target (line 361)

Destroy the target for the provided temporary object

  • abstract:
  • access: protected
boolean __destroy_target (Asido_TMP &$tmp)

Redefinition of:
Asido_Driver::__destroy_target()
Destroy the target for the provided temporary object
__flip (line 199)

Vertically mirror (flip) the image

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

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

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

Make the image greyscale: not supported

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

Redefinition of:
Asido_Driver::__grayscale()
Make the image greyscale

Redefined in descendants as:
__open (line 276)

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

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

Rotate the image clockwise: only rectangular rotates are supported (90,180,270)

  • 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 251)

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

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

 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:04 +0300 by phpDocumentor 1.3.0RC4