Метод |
Описание |
|
__construct ( $img ) |
|
|
base64data ( $format = null, $quality = 100 ) |
|
|
best_fit ( $width, $height ) |
|
|
colorize ( $colorhex, $opacity = 1 ) |
|
|
crop ( $startX, $startY, $endX, $endY ) |
|
|
flipHorizontally ( ) |
|
|
flipVertically ( ) |
|
|
grayscale ( ) |
|
|
negative ( ) |
|
|
overlay ( $overlay_file, $position = 'center', $opacity = 1, $x_offset, $y_offset ) |
|
|
resize ( $width, $height ) |
|
|
rotate ( $angle ) |
|
|
save ( $path, $quality = 100 ) |
|
|
show ( $format = null, $quality = 100 ) |
|
|
sketch ( ) |
|
|
text ( $text, $font_file, $font_size = 12, $color = '#000000', $position = 'center', $x_offset, $y_offset ) |
|
|
thumbnail ( $width, $height ) |
|
|