Public Member Functions | |
| __construct ($source) | |
| asPng ($output) | |
| saveAs ($output, $type='png') | |
Public Attributes | |
| $source = '' | |
Protected Attributes | |
| $dir = '' | |
| $filename = '' | |
Complex operations should be performed with the gd functions directly.
| Pluf_Image::__construct | ( | $ | source | ) |
Init the image class.
| Pluf_Image::asPng | ( | $ | output | ) |
Convert the image as a png file.
| string | Output file. |
| Pluf_Image::saveAs | ( | $ | output, | |
| $ | type = 'png' | |||
| ) |
Convert the image as a given type.
Types are 'gif', 'jpg' or 'png'
| string | Output file. | |
| string | Type. |
Pluf_Image::$dir = '' [protected] |
Path to the thumbnail folder.
Pluf_Image::$filename = '' [protected] |
Filename of the last created thumbnail.
| Pluf_Image::$source = '' |
Full path to the source file.