PIL rotate image colors (BGR -> RGB)

I know it’s an old question, but I had the same problem and solved it with:

img = img[:,:,::-1]

Leave a Comment