I’m curious – is it possible to ahieve in PHP:
1) Send image file to server
2) Process image = detect edges and create simple strokes basing on the edges
3) Save file on server / send it to user’s browser / whatever
Here is some “sample” file ;P (as You can see it wasn’t made using any edge detection enabled program, but by hand – just as an example):
If you can use ImageMagick, there is the
--charcoalfilter:The ImageMagick examples manual shows another way whose results look even better:
Artist Charcoal Sketch of Image