[reportlab-users] pb with images

Robin Becker robin at reportlab.com
Wed Dec 14 13:52:56 EST 2005


Jerome Alet wrote:
> On Wed, Dec 14, 2005 at 06:10:38PM +0000, Robin Becker wrote:
> 
>>Anyhow it seems Jerome has found a proper bug when Acroreader 7.0 tries to 
>>draw 0 x 0 images.
> 
> 
> This was due to an incorrect input dataset. Robin's little finger 
> showed to me where the problem was. 
> 
> Thanks again for your help
> 
..... well a comment in the code suggests that we expect reader to make images 1 
x 1 if the width is not specified. I think we should filter both drawImage and 
drawInlineImage for width<1e-6 or height<1e-6. Accidents can happen and they are 
fairly costly.
-- 
Robin Becker


More information about the reportlab-users mailing list