Image conversion delegate using ImageGD PHP extension.
More...
List of all members.
|
Public Methods |
| eZImageGD ($from_type=EZ_IMAGE_KEEP_SUFFIX,$to_type=EZ_IMAGE_REPLACE_SUFFIX) |
& | convertFileName ($from,$type,$use_dir=true) |
| convert (&$from,&$to,&$to_dir,&$to_file,&$filters,$scale=false) |
| scale (&$from,&$to,&$to_file,&$filters,$scale) |
Public Attributes |
| InputMIMETypes |
| Array of allowed input types mapped to the corresponding function.
|
| OutputMIMETypes |
| Array of allowed output types mapped to the corresponding function.
|
| FromType |
| The filename operation to run on the source file.
|
| ToType |
| The filename operation to run on the destination file.
|
Detailed Description
Image conversion delegate using ImageGD PHP extension.
This class uses the internal PHP functions for image handling for doing conversions. See http://www.php.net/manual/en/ref.image.php for more information.
Definition at line ezimagegd.php.
Constructor & Destructor Documentation
eZImageGD::eZImageGD |
( |
$ |
from_type = EZ_IMAGE_KEEP_SUFFIX, |
|
|
$ |
to_type = EZ_IMAGE_REPLACE_SUFFIX |
|
) |
|
|
|
Sets up the conversion rules, maps a mimetype to a specific image function. GIF and WBMP conversion is only available if it is compiled in.
Definition at line ezimagegd.php.
References ToType. |
Member Function Documentation
eZImageGD::convert |
( |
&$ |
from, |
|
|
&$ |
to, |
|
|
&$ |
to_dir, |
|
|
&$ |
to_file, |
|
|
&$ |
filters, |
|
|
$ |
scale = false |
|
) |
|
|
& eZImageGD::convertFileName |
( |
$ |
from, |
|
|
$ |
type, |
|
|
$ |
use_dir = true |
|
) |
|
|
|
Converts the filename $from according to $type. See class documentation or different types you can use.
Definition at line ezimagegd.php.
Referenced by convert(). |
eZImageGD::scale |
( |
&$ |
from, |
|
|
&$ |
to, |
|
|
&$ |
to_file, |
|
|
&$ |
filters, |
|
|
$ |
scale |
|
) |
|
|
The documentation for this class was generated from the following file:
|