PHP 클래스 image

상속: extends Controller
파일 보기 프로젝트 열기: anchorcms/anchor-cms 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $src_image, $src_w, $src_h )
blur ( )
check_available_memory ( $file, $dst_w, $dst_h, $bloat = 1.68 )
crop ( $dst_w, $dst_h, $src_x, $src_y )
grayscale ( )
height ( )
open ( $file )
output ( $type = 'png', $file = null )
palette ( $percentages = [0.2, 0.7, 0.5] )
resize ( $dst_w, $dst_h )
sharpen ( )
width ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $src_image, $src_w, $src_h )

blur() 공개 메소드

public blur ( )

check_available_memory() 공개 메소드

public check_available_memory ( $file, $dst_w, $dst_h, $bloat = 1.68 )

crop() 공개 메소드

public crop ( $dst_w, $dst_h, $src_x, $src_y )

grayscale() 공개 메소드

public grayscale ( )

height() 공개 메소드

public height ( )

open() 공개 정적인 메소드

public static open ( $file )

output() 공개 메소드

public output ( $type = 'png', $file = null )

palette() 공개 메소드

public palette ( $percentages = [0.2, 0.7, 0.5] )

resize() 공개 메소드

public resize ( $dst_w, $dst_h )

sharpen() 공개 메소드

public sharpen ( )

width() 공개 메소드

public width ( )