Turning photo into cartoon using PHP

后端 未结 2 364
故里飘歌
故里飘歌 2020-12-14 05:05

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

(not sure, that step 2 is necessary).

Thanks!

相关标签:
2条回答
  • 2020-12-14 05:35

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

    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.

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

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

    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.

    0 讨论(0)
  • 2020-12-14 05:43

    I doubt you can do this using php with some image editing library, you'll need a graphic editing software like photoshop i am sure there are many tutorials for this thing out there

    0 讨论(0)
提交回复
热议问题