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 Imageimg = Image.open("../../home/media/poker/4h.png")
img
img.save("4s.jpg")!file 4s.jpg4s.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 37x54, components 3