IT学习者 -> 技术文档 -> PHP 完全中文手册

函数:ImageColorTransparent()


ImageColorTransparent

指定透明背景色。

语法: int imagecolortransparent(int im, int [col]);

返回值: 整数

函数种类: 图形处理

内容说明

本函数用来指定某色为透明背景。参数 im 为使用 imagecreate() 打开图形的 handle。参数 col 为 ImageColorAllocate() 所匹配的颜色。返回值为新的透明背景色。



[ 上一页  PHP中文手册  下一页 ]

PHP 首页 | PHP 导读 | PHP 函数库 | PHP 函数索引 | PHP 范例程序