Can u give the source code for thinning the image character