forcing image data to 8 bit before auto balance