Hi all, Forgive my naiveness but I am new to PdfBox, and trying my best to understand the library. I am stuck at a point and need someone to show a work around, pls see the mail below for details.
I mailed this to the list a few days back, and receiving no response feels weird. I am not sure if my mails are getting through. Thanks and regards, Vinayak -----Original Message----- From: Vinayak Sent: 28/09/2010 12:42:24 Subject: Re: Embed PNG/GIF image into existing PDF Document Hi all, Any suggestions/pointers on this? Thanks for your support, Vinayak On Thu, Sep 23, 2010 at 10:33 AM, Vinayak wrote: > Hi guys, > I'm doing some digital document conversion and got stuck at a point where > I'd like to embed a png image file into a pdf. > Would anybody show me how do I do that using pdfbox, please. > > I am loading PNG image using ImageIO and loading into PDJpeg using > PDJpeg(PDDocument, BufferedImage). This works for PNG images containing > colors other than black. The signature image I am using contains user > signature in black over a transparent background. I am unable to see the > image when embedded into pdf. Sample signature files in colors other than > black work as expected. > > Please help me out! > > Thank you very much. > -- > Vinayak

