[reportlab-users] Error reporting: please say what image is failing
Roberto Alsina
ralsina at netmanagers.com.ar
Thu Mar 18 08:12:15 EDT 2010
On Thursday 18 March 2010 08:04:29 Robin Becker wrote:
> > Roberto, how should rst2pdf behave if an image is missing? Should it
> > fail on first error, or does it have any modes to continue-but-warn,
> > or put dummy image placeholders in the PDF? You probably have
> > issues we have had in the past with RML...
>
> Looking in the ImageReader code there is a specific exception being made
> for PIL 1.1.7 because that did cause a problem with split ie
>
> if mode=='RGBA':
> if Image.VERSION.startswith('1.1.7'): im.load()
> self._dataA = ImageReader(im.split()[3])
> im = im.convert('RGB')
> self.mode = 'RGB'
>
> can we find some details on the PIL version etc etc.
I think this specific problem is that one (the split in .png images bug in PIL
1.1.7). At least I haven't seen it anywhere else.
More information about the reportlab-users
mailing list