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

