Use `gm` to read an RGB buffer/image and make it grayscale