PHP GD库应用——马赛克
Posted by Hpyer on 2008-11-02, 星期天
效果:

示例/源码:
http://demo.hpyer.cn/php/gd/#mosaic
void mosaic(resource image, int x1, int y1, int x2, int y2, int deep);
mosaic() 把坐标 x1,y1 到 x2,y2(图像左上角为 0, 0)的矩形区域加上马赛克。deep为模糊程度,数字越大越模糊。
相关日志
Did you enjoy this article? Share it or give it a bump!
Write a Comment
Gravatars are small images that can show your personality. You can get your gravatar for free today!