Open3d cannot read images of .bmp type
- Dominant language
- C++
- Stars
- 14k
- Forks
- 2.6k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 6
Description
### Checklist
- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).
### Describe the issue
Open3d cannot read images of. bmp type
### Steps to reproduce the bug
```python
import open3d as o3d
import matplotlib.pyplot as plt
import cv2
if __name__ == "__main__":
...
#result.bmp size:1.19M
texture = o3d.io.read_image("C:\\Users\\Desktop\\news\\result.bmp") //load fail
texture = cv2.imread("C:\\Users\\Desktop\\news\\result.bmp") //cv2 load success
mesh.textures = [o3d.geometry.Image(texture)]
```
### Error message
[Open3D WARNING] Read geometry::Image failed: file extension bmp unknown
### Expected behavior
Read external images as textures for the model.
### Open3D, Python and System information
```markdown
- Operating system: Windows 10 64-bit
- Python version: Python 3.10
- Open3D version: output from python: 0.18.0
- System architecture: x86
- Is this a remote workstation?: no
- How did you install Open3D?: pip
```
### Additional information
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.