使用PHP gd库提高图像质量 [英] sharpen image quality with PHP gd library

查看:142
本文介绍了使用PHP gd库提高图像质量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不知道在哪里,但我遇到了一个图像托管站点,该站点允许您以大格式上传图像或对其进行锐化处理.

not sure where but I came across as image hosting site that allows you to upload your image in a large format or to sharpen it.

我个人不记得或不知道GD库的任何功能来锐化图像,这可能与质量的提高不同.

I personally do not recall or know of any functions of GD library to sharpen image which might just be a different word for quality being up-ed.

如果有人知道锐化图像的功能,请告诉我,因为我个人在Image Magic和/或GD库中都不知道这种功能.

If some one knows of a function to sharpen images please tell me since personally I am not aware of such functions neither in Image Magic and/or GD Library.

  • 预先感谢

推荐答案

您将imageconvolution()与对应于锐化滤镜的矩阵一起使用.有关此注释的详细信息,请访问PHP网站: http://php.net/manual/zh/ref.image .php#56144

You'd use imageconvolution() with a matrix that corresponds to a sharpen filter. Details in this comment on the PHP site: http://php.net/manual/en/ref.image.php#56144

这篇关于使用PHP gd库提高图像质量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆