Compressing buffer to a bitfield to save a bit of memory. We may revert this change if we ever want to go to grayscale.