Black and white

Convert image to black and white.

Black and white example
<?php 
exec
("convert $input10 -colorspace Gray black_white.jpg");
 
?>