Stop using PIL and use pycairo instead