adds gradiant to image