New Forum | Previous | Next | (P-PDF) Developers
Topic: Insufficient data for an image
Conf: (P-PDF) Developers, Msg: 123180
Date: 12/2/2004 09:09 AM
I'm generating a pdf programmatically, and some jpeg images that I write to a pdf generate a "Insufficient data for an image" error when displaying in Reader 6.0.
It mainly seems to do this with jpegs that were originally quite large and were created by a digital cam (only two things they seem to have in common). All other jpegs which I write out seem to work fine.
For starters, here is an example of the data from the pdf:
<< /Type /XObject
/Filter /DCTDecode >>
followed by a binary data stream.
1 0 0 1 32 365 cm
548 0 0 365 0 0 cm
is how its placed on the page (move to 32,365 scale to 548x365).