Action/Resize/Base.php
\phMagick\Action\Resize\Base
Package: action\resize
Base class for resize actions
- Parent(s)
- \phMagick\Core\Action
- Children
- \phMagick\Action\Resize\Stretch
- \phMagick\Action\Resize\Proportional
Properties
Methods


__construct(
String $source, String $destination, Integer $width
=
0, Integer $height
=
0
)
:
void
Contructs the resize class and sets base parameters
Parameters
Details
Name | Type | Description |
---|---|---|
$source | String | the filename of the source file |
$destination | String | the name of the new file |
$width | Integer | desired width |
$height | Integer | desired height |
- InheritDoc


setHeight(
Integer $height
)
:
void
Sets the height of the resized image
Parameters
Name | Type | Description |
---|---|---|
$height | Integer |