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.
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 |
---|---|
![]() |
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. |
![]() |
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. |
![]() |
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. |
Name of the image file
Original image width in x direction
Original image width in y direction
Path the the library used
e.g. /usr/local/ImageMagick/bin/ or /usr/local/netpbm/
New image width in x direction
New image width in y direction
Flag to warn if image has been resized more than once before displaying or saving.
Type of the image file (eg. jpg, gif png ...)
Reverse of rgb2colorname.
Reverse of rgb2colorname.
Place holder for the real display method used by extended methods to do the resizing
Create a new Image_resize object
Place holder for the real free method used by extended methods to do the resizing
Get the type of the image being manipulated
Place holder for the real load method used by extended methods to do the resizing
Resize the Image in the X and/or Y direction If either is 0 it will be scaled proportionally
Place holder for the real save method used by extended methods to do the resizing
Scale Image to a maximum or percentage
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.
Scales an image so that the longest side has this dimension.
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
Scale the image to have the max x dimension specified.
Scale the image to have the max y dimension specified.
Set the image width
Set the image height
Set the image width
Set the image height
Documentation generated on Mon, 13 Jun 2005 20:27:39 -0400 by phpDocumentor 1.3.0RC3