What is color axis?

The axis swap is most likely right.
I guess you have 4 channels, because your image might have an additional alpha channel.
Usually it’s the last channel, so you could just remove it with:

image2 = image2[:3]

Try to slice the fourth channel and have a look at the values. Probably they are all ones.

2 Likes