使用PHP将照片变成卡通 [英] Turning photo into cartoon using PHP

查看:151
本文介绍了使用PHP将照片变成卡通的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最有可能使用ImageMagick - 如何将照片变成卡通?
这就是我的意思:

Most probably using ImageMagick - how to turn photo into "cartoon"? Here's what I mean:

http:// i54。 tinypic.com/2dbqu0w.jpg

(不确定,第2步是必要的)。

(not sure, that step 2 is necessary).

谢谢!

推荐答案

一个问题昨天提问显示了一些ImageMagick方法进入第2步。

A question asked yesterday shows some ImageMagick approaches to get to step 2.

至于步骤3 ,有一个名为 G'Mic 的基于ImageMagick的应用程序,它提供了一些先进的多步过滤器。画廊展示了一些接近的结果。但是,它是在C ++中,所以你可能需要在你的系统上编译它。

As for step 3, there is a ImageMagick-based application named G'Mic that provides some advanced multi-step filters. The gallery shows some results that come close. However, it is in C++ so you'll probably need to compile it on your system.

此外,谷歌搜索 Imagemagick Cartoonify 会产生一些值得检出的示例脚本。

Also, Googling for Imagemagick Cartoonify yields some example scripts that are worth checking out.

另外,请务必深入研究 ImageMagick示例页面,周围最好的IM资源之一。

Also, make sure you dig into the ImageMagick examples page, one of the greatest IM resources around.

那说,我怀疑是否可以构建基于IM的解决方案,其效果与您展示的漫画器一样。 IM非常强大,但可能没有必要的详细控制,个人编程和矢量化功能。但基本功能是可能的。

That said, I doubt whether it is possible to build a IM-based solution that works as well as the cartoonifier you show. IM is hugely powerful, but may not have the necessary degree of detailed control, individual programming and vectorization functions. But the basic functionality is possible.

这篇关于使用PHP将照片变成卡通的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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