我很好奇 – 有可能在
PHP中使用:
1)将图像文件发送到服务器
2)过程图像=检测边缘并基于边缘创建简单的笔划
3)将文件保存在服务器上/发送到用户的浏览器/等等
如果你可以使用
ImageMagick,那就是
--charcoal
filter:
The charcoal effect is meant to simulate artist’s charcoal sketch of the given image.
The “-charcoal” operator is in some respects similar to edge detection transforms used by Computer Vision. Basically it tries to convert the major borders and edges of object in the image into pencil and charcoal shades.
The one argument is supposed to represent the thickness of the edge lines.
ImageMagick示例手册显示了其结果看起来更好的另一种方式:
原文地址:https://www.jb51.cc/php/130594.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。