PHP GD sharpness filter

前端 未结 3 1441
半阙折子戏
半阙折子戏 2021-01-22 05:25

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

So that this...

3条回答
  •  北海茫月
    2021-01-22 05:49

    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.

提交回复
热议问题