PHP的GD清晰度过滤器 [英] PHP GD sharpness filter

查看:223
本文介绍了PHP的GD清晰度过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用 PHP GD 库创建清晰度过滤器?

为了...





转到...



PHP 不可能,那么比其他语言我认为他想使用PHP的GD库。这是一个很好的解决方案。这很简单: function.imageconvolution 。只要搜索页面上的锐化,你会看到一个矩阵,你可以用来锐化。它工作得很好,虽然我会推荐使用ImageMagick,如果你正在尝试做更多的事情。

How can you make a sharpness filter with the PHP GD library?

So that this...

Turns to this...

If it is not possible with PHP, than what other languages are capable?

解决方案

I think he wants to use PHP's GD library. It's pretty easy: function.imageconvolution. Just search for 'sharpen' on the page and you'll see a matrix you can use for sharpening. It works pretty well, although I would recommend using ImageMagick if you're trying to do anything more than that.

这篇关于PHP的GD清晰度过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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