Image_TransformThe main "Image_Resize" class is a container and base class which provides the static methods for creating Image objects as well as some utility functions (maths) common to all parts of Image Resize.
The object model of DB is as follows (indentation means inheritance):
Image_Resize The base for each Image implementation. Provides default | implementations (in OO lingo virtual methods) for | the actual Image implementations as well as a bunch of | maths methods. | +-Image_GD The Image implementation for the PHP GD extension . Inherits Image_Resize When calling DB::setup for GD images the object returned is an instance of this class.
Located in /plugins/ImageManager/Classes/Transform.php (line 62)
| Class | Description |
|---|---|
Image_Transform_Driver_GD
|
The main "Image_Resize" class is a container and base class which provides the static methods for creating Image objects as well as some utility functions (maths) common to all parts of Image Resize. |
Image_Transform_Driver_NetPBM
|
The main "Image_Resize" class is a container and base class which provides the static methods for creating Image objects as well as some utility functions (maths) common to all parts of Image Resize. |
Image_Transform_Driver_IM
|
The main "Image_Resize" class is a container and base class which provides the static methods for creating Image objects as well as some utility functions (maths) common to all parts of Image Resize. |
string
$image
= '' (line 68)
Name of the image file
int
$img_x
= '' (line 78)
Original image width in x direction
int
$img_y
= '' (line 83)
Original image width in y direction
mixed
$lapse_time
= 900 (line 109)
mixed
$lib_path
= '' (line 99)
Path the the library used
e.g. /usr/local/ImageMagick/bin/ or /usr/local/netpbm/
int
$new_x
= '' (line 88)
New image width in x direction
int
$new_y
= '' (line 93)
New image width in y direction
mixed
$resized
= false (line 104)
Flag to warn if image has been resized more than once before displaying or saving.
string
$type
= '' (line 73)
Type of the image file (eg. jpg, gif png ...)
mixed
$uid
= '' (line 107)
addBorder (line 549)
addDropShadow (line 544)
addText (line 539)
cleanUp (line 340)
colorarray2colorhex (line 532)
Reverse of rgb2colorname.
colorhex2colorarray (line 517)
Reverse of rgb2colorname.
createUnique (line 365)
crop (line 554)
display (line 482)
Place holder for the real display method used by extended methods to do the resizing
factory (line 122)
Create a new Image_resize object
flip (line 559)
free (line 505)
Place holder for the real free method used by extended methods to do the resizing
gamma (line 564)
getImageType (line 430)
Get the type of the image being manipulated
getWebSafeFormat (line 440)
load (line 470)
Place holder for the real load method used by extended methods to do the resizing
resize (line 149)
Resize the Image in the X and/or Y direction If either is 0 it will be scaled proportionally
save (line 494)
Place holder for the real save method used by extended methods to do the resizing
scale (line 191)
Scale Image to a maximum or percentage
scaleByFactor (line 225)
Scales an image to a factor of its original size. For example, if my image was 640x480 and I called scaleByFactor(0.5) then the image would be resized to 320x240.
scaleByLength (line 239)
Scales an image so that the longest side has this dimension.
scaleByPercentage (line 211)
Scales an image to a percentage of its original size. For example, if my image was 640x480 and I called scaleByPercentage(10) then the image would be resized to 64x48
scaleMaxX (line 165)
Scale the image to have the max x dimension specified.
scaleMaxY (line 178)
Scale the image to have the max y dimension specified.
uniqueStr (line 334)
_get_image_details (line 257)
_set_img_x (line 387)
Set the image width
_set_img_y (line 398)
Set the image height
_set_new_x (line 409)
Set the image width
_set_new_y (line 420)
Set the image height
Documentation generated on Sat, 31 Dec 2005 14:56:55 -0500 by phpDocumentor 1.3.0RC3