How to use Open source software to turn a portrait picture into something that resembles a cartoon (with additional alternatives) — (TECHNICAL)

Important notes: Not everyone thinks a cartoon looks the same, cartoons come in many different formats and I try to present some options on this page. This is a technical document and not for general purpose consumption.
ImageMagick++ and GMIC are required. GimpUI is not but Gimp is. Unix is probably required and is recommended.
What I have tried to do is take a normal picture of a primary school kid and treat it so that it is more appealing to the pupil to put on an object of their personal posession.
I have released my findings so if anyone else tries to do the same thing they can:
Simplfied instructions:
Install GIMP-Devel
Install Dependancies for ImageMagick++
Install ImageMagick++
Install Dependancies for GMIC (take note on ftw3)
Install GMIC (takes a long time)
Once GMIC is installed run the commands that I have placed above each example.
You may wish to process this with PHP or Python or so, that should be very simple to do πŸ™‚

GMIC seems to have much lower overheads than ImageMagick++.

Original Image:





GMIC command:
gmic example.jpg -tetris 50 -o example3.jpg



GMIC command:
gmic example.jpg -edges 30 -o example5.jpg




GMIC command:
gmic example.jpg -drawing 30 -o example7.jpg
GMIC command:
gmic example.jpg -stencilbw 20 -o example6.jpg
Yes this looks very weird but if you apply the same effect to the picture of a boy they look like Harry Potter which is pretty cool if your a Primary School kid..
GMIC command:
gmic example.jpg -pencilbw 1 -o example8.jpg

Be Funky doesn’t respond to email

I’m trying to use the API from BeFunky so I dropped them an Email RE some tweeks I’d like to see and they didn’t respond.

Anyone know if the company still exists or if it was a side project that has been dropped?

Gonna look into using ImageMagick for what I want to do instead. All I want to do is to take a normal image and adjust it so it comes out cartoonized or looking like a cartoon! πŸ™‚

Befunky gets stuck on sending image

BeFunky.com gets stuck on sending image when using the API. Β ReadΒ 

http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001621.html
Create a Crossdomain.xml that looks something like one of the examples shown on the page. πŸ™‚

Be Funky API doesn’t seem to work for me :(

Hrm, appears that the BeFunky.com API doesn’t work from the example they paste.

I tried many different methods of rewritin the URL and the PHP but I still failed πŸ™
Does anyone have a good working example?
*** Since I posted this I found a solution! πŸ™‚ *with help from Phiz Uglyface
Download the files at http://primaryt.co.uk/befunky.zip and extract them to a new folder on your webserver.
Edit the:
  1. key
  2. secret
  3. post_url
  4. callbackURL
  5. imgLink
Values in index.php to suit your setup. Making sure that the files referenced exist in the correct location.