Horde_Image_imThis class implements the Horde_Image:: API for ImageMagick.
Additional parameters to the constructor exclusive to this driver:
'type' - What type of image should be generated.
$Horde: framework/Image/Image/im.php,v 1.34.10.26 2009/03/23 18:15:47 mrubinsk Exp $
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Image/Image/im.php (line 27)
Horde_Image | --Horde_Image_im
void
arc
(integer $x, integer $y, integer $r, integer $start, integer $end, [string $color = 'black'], [string $fill = 'none'])
void
dashedLine
(integer $x0, integer $y0, integer $x1, integer $y1, [string $color = 'black'], [string $width = 1], [integer $dash_length = 2], [integer $dash_space = 2])
void
line
(integer $x0, integer $y0, integer $x1, integer $y1, [string $color = 'black'], [string $width = 1])
void
rectangle
(integer $x, integer $y, integer $width, integer $height, string $color, [string $fill = 'none'])
void
roundedRectangle
(integer $x, integer $y, integer $width, integer $height, integer $round, string $color, string $fill)
void
text
( $string, integer $x, integer $y, [string $font = ''], [string $color = 'black'], [integer $direction = 0], [string $fontsize = 'small'], string $text)
array
$_capabilities
= array('resize',Capabilites of this driver.
string
$_fillColor
= null (line 82)
Current fill color; cached so we don't issue more -fill commands than necessary.
Imagick
$_imagick
= null (line 89)
Reference to an Horde_Image_ImagickProxy object.
array
$_operations
= array() (line 50)
Operations to be performed. These are added before the source filename is specified on the command line.
array
$_postSrcOperations
= array() (line 58)
Operations to be added after the source filename is specified on the command line.
string
$_strokeColor
= null (line 66)
Current stroke color; cached so we don't issue more -stroke commands than necessary.
string
$_strokeWidth
= null (line 74)
Current stroke width; cached so we don't issue more -strokewidth commands than necessary.
array
$_toClean
= array() (line 96)
TODO
Inherited from Horde_Image
Horde_Image::$_background
Horde_Image::$_data
Horde_Image::$_height
Horde_Image::$_loadedEffects
Horde_Image::$_observers
Horde_Image::$_rgb
Horde_Image::$_tmpdir
Horde_Image::$_type
Horde_Image::$_width
Constructor Horde_Image_im (line 101)
Constructor.
applyEffects (line 684)
arc (line 616)
Draw an arc.
circle (line 464)
Draw a circle.
crop (line 339)
Crop the current image.
dashedLine (line 572)
Draw a dashed line.
executeConvertCmd (line 705)
Method to execute a raw command directly in convert.
The input and output files are quoted and substituted for __FILEIN__ and __FILEOUT__ respectfully. In order to support piped convert commands, the path to the convert command is substitued for __CONVERT__ (but the initial convert command is added automatically).
flip (line 380)
Flip the current image.
getContentType (line 192)
Return the content type for this image.
getDimensions (line 313)
More efficient way of getting size if using imagick library.
*ALWAYS* use getDimensions() to get image geometry...instance variables only cache geometry until it changes, then they go to zero.
grayscale (line 404)
Convert the current image to grayscale.
line (line 551)
Draw a line.
loadFile (line 176)
Load the image data from a file. Need to override this method in order to load the imagick object if we need to.
loadString (line 154)
Load the image data from a string. Need to override this method in order to load the imagick object if we need to.
mirror (line 392)
Mirror the current image.
polygon (line 482)
Draw a polygon based on a set of vertices.
polyline (line 592)
Draw a polyline (a non-closed, non-filled polygon) based on a set of vertices.
raw (line 206)
Returns the raw data for this image.
rectangle (line 507)
Draw a rectangle.
reset (line 267)
Reset the image data.
resize (line 286)
Resize the current image. This operation takes place immediately.
rotate (line 363)
Rotate the current image.
roundedRectangle (line 529)
Draw a rounded rectangle.
sepia (line 418)
Sepia filter.
text (line 442)
Draws a text string on the image in a specified location, with the specified style information.
_getFontSize (line 741)
Return point size for font
_getIMVersion (line 760)
Inherited From Horde_Image
Horde_Image::Horde_Image()
Horde_Image::addEffect()
Horde_Image::addObserver()
Horde_Image::applyEffects()
Horde_Image::brightness()
Horde_Image::brush()
Horde_Image::display()
Horde_Image::factory()
Horde_Image::getCapabilities()
Horde_Image::getDimensions()
Horde_Image::getHexColor()
Horde_Image::getLink()
Horde_Image::getLoadedEffects()
Horde_Image::getRGB()
Horde_Image::hasCapability()
Horde_Image::headers()
Horde_Image::loadFile()
Horde_Image::loadString()
Horde_Image::modifyColor()
Horde_Image::moreIntenseColor()
Horde_Image::notifyObservers()
Horde_Image::raw()
Horde_Image::reset()
Horde_Image::singleton()
Horde_Image::toFile()
Documentation generated on Sun, 30 Jan 2011 05:18:21 +0000 by phpDocumentor 1.4.3