Метод | Описание | |
---|---|---|
colorize ( $hexColor ) : boolean | WP_Error | Tints the image a different color | |
grayscale ( ) : boolean | WP_Error | Makes the image grayscale | |
negate ( ) : boolean | WP_Error | Negates the image | |
opacity ( float $opacity ) : boolean | WP_Error | Changes the opacity of the image | |
rotate ( float $angle ) : boolean | WP_Error | Rotates current image counter-clockwise by $angle. |
Метод | Описание | |
---|---|---|
_opacity ( $image, $opacity ) | params: image resource id, opacity (eg. 0.0-1.0) |
protected _opacity ( $image, $opacity ) |