Image encoding (BGR or RGB) - ROS1 Camera pipeline

What is the default image encoding when i export images out of Isaac SIM using ROS1? Is it bgr8?
I am using the images further in my project in a deep learning application and apparently, the image encoding is an issue. I have tried cv2.cvtColor() to convert the image to RGB but still getting wrong results. Can someone explain what is the format or encoding of the images are so that I can address the issue accordingly.

@a.imrantw i am not as experienced, but wonder if these are relevant: