For this you can have a look here, but it looks like a quick and dirty hack: http://stackoverflow.com/questions/2227493/reportlab-and-python-imaging-library-images-from-memory-issue