Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
import numpy as np
from PIL import Image, ImageOps, ImageChopsimg = Image.open("../../home/media/poker/4h.png")
img
img.rotate(45)
img.rotate(90)
img.rotate(135)
img.rotate(180)
img.rotate(225)
img.rotate(270)
img.rotate(315)
img.rotate(360)