[reportlab-users] pb with images

Robin Becker robin at reportlab.com
Wed Dec 14 09:17:24 EST 2005

Jerome Alet wrote:
> Hi there,
> while doing some work with my PDFMap utility,
> I've noticed that when viewing the document with Acrobat
> Reader 7.0 (Linux), I've got the message "Wrong operand type."
> when I visualize the file in the case I represent some objects
> with images.
> NB : despite the presence of the error message dialog box, the 
> document displays correctly on screen. The same document displays
> without any error or warning in xpdf 3.01-3 (Debian)
> Also I believe (not really sure) that the same document displayed OK 
> without any warning in acroread 5.0 
> If I linearize the code using the pycanvas framework included
> in ReportLab, I've got a 54 Mb python program (>41000 lines long)
> which in fact does (for each image) :

Can you send an example of a bad PDF to me? I can then try it with 7.0 on a PC.
Also you seem to imply that this is an issue with the images. have you tried 
different images or the standard canvas? Very long examples are hard to figure 
out so the linearized thing is not ideal.
Robin Becker

More information about the reportlab-users mailing list