PNG output

PNG output

Forum member · Mar 24, 2006
Hi, Is it possible to get the generated pdf output as png. What I mean is that I have a web application where we generate a pdf, but we should also be able to show a preview of the pdf as png on the web page. Is it possible to get png output from PDFPage or Document ?

Re: PNG output

Support · Mar 24, 2006
Hello, No it is not possible to convert the generated output PDF file to PNG image. Our product will not allow you to save the PDF as a PNG or any other image type. Our products will allow you to create PDF documents programmatically from scratch, merge existing PDF documents, add contents to existing PDF files, stamping PDFs, appending existing PDF documents, form filling, rotating and scaling PDFs, etc. Thanks, ceTe Software Support Team

Re: PNG output

Forum member · Mar 24, 2006
Ok, but did you say that it allows you to save the pdf as jpeg ? How can I do this ? And if it is able to save it as jpeg then it must have some method of converting it to jpg, so shouldn't be too difficult to provide for example java.awt.image.BufferedImage - version of the resulting pdf. That way it could be saved as jpg, gif, png or pretty much any bitmap format. Currently at least Big Faceless PDF library does this. But I kind of like your API better, but unfortunately this feature is pretty much required for our application.

Re: PNG output

Support · Mar 24, 2006
Hello, I am sorry for the mistake and confusion. I meant to say our product does not allow you to save PDF as JPEG or any other image type. I have corrected that sentence. Thanks, ceTe Software Support Team