How can I convert an image taken with graphics.screenshot() to black and white?