Switching from PIL to cairo for vector graphics.