converts image to b&w for #39