Pencil sketch

Pencil sketch example
<?php 
$cmd 
$input17 -resize 500x500> -segment 1x1 ".
" +dither -colors 2 -edge 1 -normalize -negate ";
exec("convert $cmd pencil.jpg");
 
?>

The idea of this was to make a pencil type sketch that children could then join up the parts and colour in. The original photo is resized if it is over 500x500