PHP Class Pommo_Filesystem_Image, poMMo

Inheritance: extends Pommo_Filesystem_File
Afficher le fichier Open project: soonick/poMMo Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $filePath )
resize ( integer $width, integer $height, boolean $smallerOnly = false ) : mixed
save ( string $savePath, integer $quality = 90 ) Saves the stored image to a new file

Private Methods

Méthode Description
_create ( string $filePath ) : resource

Method Details

__construct() public méthode

public __construct ( string $filePath )
$filePath string

resize() public méthode

public resize ( integer $width, integer $height, boolean $smallerOnly = false ) : mixed
$width integer
$height integer
$smallerOnly boolean
Résultat mixed

save() public méthode

Saves the stored image to a new file
public save ( string $savePath, integer $quality = 90 )
$savePath string
$quality integer