PIL rotate image colors (BGR -> RGB) February 20, 2023 by Tarik I know it’s an old question, but I had the same problem and solved it with: img = img[:,:,::-1]