Idees Absurdes wrote:
> hi all!
>  
> As the subject says, Is there anyway to copy the info from a PDFTemplate 
> to a BufferedImage?
>  
> We're writing/rotating a rich text using a pdftemplate, and now we need 
> it in a BufferedImage 'cause we want to put that BufferedImage into 
> another BufferedImage to save disk space (we're kinda generating a 
> "texture" of the whole scene).

I'm not sure if I understand why you want to render the PDF
to an Image. Do you need to reuse the PdfTemplate outside the
context of a PDF file? Otherwise there's no reason for you to
create a BufferedImage, you can easily reuse a PdfTemplate in
another PdfTemplate to reduce the file size of the PDF.

If you really need the PdfTemplate to be rendered to an image
(rasterized), you'll need another library.
br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to