Class Watimage
This is a backwards compatibility class. It just has the old Watimage methods and workflow so you can upgrade any project to the new Watimage without changing your code.
Namespace: Elboletaire\Watimage
Copyright: 2015 Òscar Casajuana
License: MIT
Author: Òscar Casajuana Alonso elboletaire@underave.net
Link: https://github.com/elboletaire/Watimage
Located at Watimage.php
Copyright: 2015 Òscar Casajuana
License: MIT
Author: Òscar Casajuana Alonso elboletaire@underave.net
Link: https://github.com/elboletaire/Watimage
Located at Watimage.php
Methods summary
public
|
#
__construct( mixed $file = null, mixed $watermark = null )
Construct method. Accepts file and watermark as parameters so you can avoid the setImage and setWatermark methods. |
public
|
|
public
|
|
public
|
|
public
true
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
true
|
#
applyWatermark( )
Applies a watermark to the image. Needs to be initialized with $this->setWatermark() |
public
true
|
|
public
true
|
Properties summary
protected
|
$image
Image handler. |
|
protected
|
$watermark
Watermark handler. |
#
false
|
public
array
|
$errors
Any error returned by the class will be stored here |
#
[]
|