On Mon, 2009-07-20 at 20:30 +0100, Thach Tran wrote:
> Hi,
> 
> I have quickly put together what you suggested earlier. The patch is  
> attached in this message, feel free to give it a go. I'm really new at  
> PoDoFo code base; so mistakes are quite inevitable. Please send me  
> some feedbacks if that's ok. About using my sample PDF as a test case,  
> I'm totally fine with it. I know it takes a bit of effort to find/ 
> generate a PDF contains inline image these day :-)

Hmm. It looks like the image data was getting truncated at the first
NULL byte because PdfData was interpreting the buffer as a
null-terminated string. Fixed in svn.

(On a side note, did you notice that your inline image is deflate
encoded, despite the stream it's embedded in also being deflate encoded?
Kind of pointless. But anyway...)

-- 
Craig Ringer


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to