郁金香图像处理类 [from PHPClass]
本帖最后由 johnnywalkerzhu 于 2012-7-24 18:35 编辑下载:http://www.phpclasses.org/package/7581-PHP-Apply-different-types-of-effects-to-images.html
演示:http://www.funsail.cn/phpClass/tulip_image/examples/
介绍
郁金香图片处理类
读取GIF\JPEG\PNG格式图片,并在其之上应用各类效果,目前版本能够实现:添加水印缩放裁剪添加文字旋转彩色到灰度颜色反转改变亮度改变对比度色彩化高斯模糊伽玛校准描绘边缘浮雕应用灯光操作还比较简便:i.e. 浮雕效果: tulipIP::emboss($copy, $offset, $normalization); $copy 为读取的图片;$offset, $normalization 为效果参数;tulipIP::saveImage($dest, $copy, $mime, 'Emboss-filter');然后可以直接将处理后的图片保存至指定位置
原文
This class can apply different types of effects to images.It can load an image from a file in GIF, JPEG or PNG format and apply several types of effects. Currently it can:- Add a watermark- Resize- Crop- Add a text label- Rotate- Convert the colors to grey tones- Negate the colors- Change the brightness- Change the contrast- Colorize- Gaussian blur- Gamma correction- Flip the image- Detect edges- Emboss- Apply a lightThe processed image can be saved back to a file in the same formats.
比較慢.... 好,已下载,正在测试。 as3291363 发表于 2012-7-23 19:19 static/image/common/back.gif
比較慢....
比较慢,是指运行比较慢么? 因为测试是放在虚拟主机上,图片一大,Loading的就很慢了。 这个国外的网站很蛋疼
于是就把附件顺手转来
页:
[1]