Converts a buffer to grayscale.
The buffer to work on.
If the buffer should be reordered by the reorderBody function.
Converts a buffer to grayscale.