RE: Converting an image to a PDF

2011-04-22 Thread Eric Douglas
it's a layering issue, that the PDF has multiple objects positioned on top each other and they're getting hidden in the graphic drawing. -Original Message- From: a...@swmc.com [mailto:a...@swmc.com] Sent: Thursday, April 21, 2011 3:55 PM To: users@pdfbox.apache.org Subject: Con

Re: Converting an image to a PDF

2011-04-21 Thread Jeremias Maerki
this sounds like it's the answer to embed any image > into a PDF. > > > Thanks, > Adam > > > > From: > Russ Pridemore > To: > users@pdfbox.apache.org > Date: > 04/21/2011 14:07 > Subject: > Re: Converting an image to a PDF > > &g

Re: Converting an image to a PDF

2011-04-21 Thread Adam
mage awtImage) constructor, this sounds like it's the answer to embed any image into a PDF. Thanks, Adam From: Russ Pridemore To: users@pdfbox.apache.org Date: 04/21/2011 14:07 Subject: Re: Converting an image to a PDF Yes, I can confirm that works, but may not produce acceptabl

Re: Converting an image to a PDF

2011-04-21 Thread Russ Pridemore
Yes, I can confirm that works, but may not produce acceptable results depending on the image. JPG is not optimal for many types of images. I have the same issue with pdfbox... Russ On Apr 21, 2011 4:38 PM, "Ken Bowen" wrote: > Adam, > > Why not do a separate conversion of the PNG to JPEG first,

Re: Converting an image to a PDF

2011-04-21 Thread Ken Bowen
Adam, Why not do a separate conversion of the PNG to JPEG first, and then convert the JPEG to PDF? There are many tools (if it's only a one-off or two) and libraries (for a pipeline) out there. I even think you could probably do the conversion using the basic JVM 1.6 AWT facilities. Ken On

Converting an image to a PDF

2011-04-21 Thread Adam
I'm looking for a way to convert an image to a PDF. I found org.apache.pdfbox.examples.pdmodel.ImageToPDF which looks like it'll work for JPG and TIF files, but it doesn't seem to support PNG (or any other type for that matter). I traced through the library a little and found some code that w