Let’s make a picture that looks like a pencil sketch. Here is a simple technique that can help you to achieve the above said results. Find an area of high contrast between a pixel and the pixel below it if contrast is high we can make pixel black otherwise white Question here is how to