I have an image where the colors are BGR. How can I transform my PIL image to swap the B and R elements of each pixel in an efficient manner?
You should be able to do this with the ImageMath module.
Joe's solution is even better, I was overthinking it. :)