A more lightweight alternative compared to using rviz2
(which is bloated).
Open with the following line
ros2 run rqt_image_view rqt_image_view
If you do not have it downloaded already, it can be downloaded using apt
sudo apt install ros-humble-rqt-image-view