|
PHP5中文手册
imagefilter(PHP 5) imagefilter — 对图像使用过滤器 说明
bool imagefilter
( resource $src_im
, int $filtertype
[, int $arg1
[, int $arg2
[, int $arg3
]]] )
imagefilter() 把过滤器 filtertype 应用到图像上,在需要时使用 arg1 ,arg2 和 arg3 。 filtertype 可以是下列中的一个:
如果成功则返回 TRUE,失败则返回 FALSE。
Example#1 imagefilter() 灰度例子
<?php
Example#2 imagefilter() 亮度例子
<?php
Example#3 imagefilter() 上彩例子
<?php |