Converting a colour photo to a single layered stencil