bgr.py
x is an image.
rgb_to_bgr(x)
bgr_to_rgb(x)