PHP 图像处理
imagecolorset — 给指定调色板索引设定颜色。
语法
void imagecolorset ( resource $image , int $index , int $red , int $green , int $blue )
本函数将调色板中指定的索引设定为指定的颜色。对于在调色板图像中创建类似区域填充(flood-fill)的效果很有用,免去了真的去填充的开销。
相关文章
- imagecolorat() 取得某像素的颜色索引值。
PHP 图像处理
脚本宝典收集整理的这篇文章主要介绍了PHP imagecolorset – 给指定调色板索引设定颜色,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
PHP 图像处理
imagecolorset — 给指定调色板索引设定颜色。
void imagecolorset ( resource $image , int $index , int $red , int $green , int $blue )
本函数将调色板中指定的索引设定为指定的颜色。对于在调色板图像中创建类似区域填充(flood-fill)的效果很有用,免去了真的去填充的开销。
PHP 图像处理
以上是脚本宝典为你收集整理的PHP imagecolorset – 给指定调色板索引设定颜色全部内容,希望文章能够帮你解决PHP imagecolorset – 给指定调色板索引设定颜色所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。