Overview of creating pdf images using PIL