This class defines the Horde_Image:: API, and also provides some utility functions, such as generating highlights of a color.
$Horde: framework/Image/Image.php,v 1.39.10.21 2010/03/28 16:39:11 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.php (line 20)
Class | Description |
---|---|
![]() |
This class implements the Horde_Image:: API for ImageMagick. |
![]() |
This class implements the Horde_Image:: API for PNG images. It mainly provides some utility functions, such as the ability to make pixels or solid images for now. |
![]() |
This class implements the Horde_Image:: API for SVG. |
![]() |
This class implements the Horde_Image:: API for SWF, using the PHP Ming extension. |
![]() |
This class implements the Horde_Image:: API for the PHP GD extension. It mainly provides some utility functions, such as the ability to make pixels, for now. |
Background color.
Capabilites of this driver.
The current image data.
The current height of the image data.
Array containing available Effects
Observers.
Current color.
A directory for temporary files.
What kind of images should ImageMagick generate? Defaults to 'png'.
The current width of the image data.
Returns the brightness of a color.
Calculate a lighter (or darker) version of a color.
Calculate a more intense version of a color.
Constructor.
Attempts to apply requested effect to this image. If the effect cannot be found a PEAR_Error is returned.
Add an observer to this image. The observer will be notified when the image's changes.
Apply any effects in the effect queue.
Draw a shaped point at the specified (x,y) point. Useful for scatter diagrams, debug points, etc. Draws squares, circles, diamonds, and triangles.
Display the current image.
Attempts to return a concrete Horde_Image instance based on $driver.
Get the height and width of the current image data.
Load a list of available effects for this driver.
Generate image headers.
Load the image data from a file.
Load the image data from a string.
Let observers know that something happened worth acting on.
Returns the raw data for this image.
Reset the image data.
Attempts to return a reference to a concrete Horde_Image instance based on $driver. It will only create a new instance if no Horde_Image instance with the same parameters currently exists.
This should be used if multiple types of image renderers (and, thus, multiple Horde_Image instances) are required.
This method must be invoked as: $var = &Horde_Image::singleton()
Ouputs image data to file. If $data is false, outputs current image data after performing any pending operations on the data.
If $data contains raw image data, outputs that data to file without regard for $this->_data
Documentation generated on Sun, 30 Jan 2011 05:18:23 +0000 by phpDocumentor 1.4.3