Метод | Описание | |
---|---|---|
__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 ( ) |
public check_available_memory ( $file, $dst_w, $dst_h, $bloat = 1.68 ) |