Old method to convert to Monochrome image was not working. Redone it.