epsfile: Use PIL's load() before unlinking the temp file
commit8b223ddfe1f1d1b0dc7239f3ae6d34a10b09230e
authorMichael J Gruber <michaeljgruber@users.sourceforge.net>
Fri, 13 May 2011 13:33:18 +0000 (13 15:33 +0200)
committerMichael J Gruber <michaeljgruber@users.sourceforge.net>
Fri, 13 May 2011 13:33:18 +0000 (13 15:33 +0200)
treec53657948b160811cc0b9d95e210540fcb15e5cc
parent438ee5bf76468e8c68054cd4f9b45862b82be612
epsfile: Use PIL's load() before unlinking the temp file

Otherwise the image object may not have the data, and data.split()
fails with

AttributeError: 'NoneType' object has no attribute 'bands'
pyx/epsfile.py