Previous | Next | (P-PDF) What's Wrong with my PDF?
Topic: Re: Inline image problem
Conf: (P-PDF) What's Wrong with my PDF?, Msg: 139592
From: aandi
Date: 9/17/2005 07:53 AM
The original image is much larger than you describe - over 130K. I strongly recommend you rewrite the code to use XObjects or not use it for such large images.
However, there is a specific problem. From your original image parameters, (Width 336, height 133, bits per component 8, color space DeviceRGB), the image requires 134064 bytes of data. But between "BI " and "EI" there are only 133583 bytes. Check (or rewrite) the code. Make sure it writes the required number of bytes even if (as often happens) reading from an image file that is short.