简体   繁体   English

使用php image magick将图像转换为卡通

[英]Converting an image into a cartoon using php image magick

Im wondering does anyone know of any good tutorials that can help me learn to convert a human image to a cartoon using php image magick.我想知道有没有人知道任何好的教程可以帮助我学习使用 php image magick 将人类图像转换为卡通。

I have found this link, http://www.fmwconcepts.com/imagemagick/cartoon/我找到了这个链接, http://www.fmwconcepts.com/imagemagick/cartoon/

but there are two issue.但有两个问题。

  1. I'm not overly impressed with the results, I would imagine theres room for improvement我对结果并不过分印象深刻,我认为还有改进的余地
  2. The script isnt PHP , but perhaps Ill have to learn to convert it myself and work from there.该脚本不是 PHP ,但也许我必须学会自己转换它并从那里开始工作。

I have another cartoonize class written in php that doesnt use image magick, but the results arent great, and I prefer image magick as it seems cleaner and faster.我有另一个用 php 编写的卡通化类,它不使用图像魔法,但结果不是很好,我更喜欢图像魔法,因为它看起来更干净、更快。

Thank you谢谢

You can run bash shell scripts containing Imagemagick commands from PHP exec().您可以从 PHP exec() 运行包含 Imagemagick 命令的 bash shell 脚本。

You might like this approach better, but I have no idea how they do it.你可能更喜欢这种方法,但我不知道他们是怎么做的。 See http://cartoon.pho.to/http://cartoon.pho.to/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM