Stop using BGR, BGRA and grayscale formats.