PHP 클래스 Pommo_Filesystem_Image, poMMo

상속: extends Pommo_Filesystem_File
파일 보기 프로젝트 열기: soonick/poMMo 1 사용 예제들

공개 메소드들

메소드 설명
__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

비공개 메소드들

메소드 설명
_create ( string $filePath ) : resource

메소드 상세

__construct() 공개 메소드

public __construct ( string $filePath )
$filePath string

resize() 공개 메소드

public resize ( integer $width, integer $height, boolean $smallerOnly = false ) : mixed
$width integer
$height integer
$smallerOnly boolean
리턴 mixed

save() 공개 메소드

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