Conversion to grayscale now happens automatically when an image is loaded.