**Problem:** to_cv_image throws an error if `mode=None`, but it is marked as an optional argument. **What should happen:** If `mode=None` the image should not be converted to any other color space (should `return npimg` directly)