my dog learned polymorphism*
The moose likes Other Open Source Projects and the fly likes how to rotate an image with itext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "how to rotate an image with itext" Watch "how to rotate an image with itext" New topic

how to rotate an image with itext

Stan F Smith

Joined: Jun 28, 2011
Posts: 20

I am trying to rotate an image on a pdf, when I do the image does not appear. If I remove the line:

It is stamoed on the pdf.

Can someone please help me with this.

Here is the method that does it:

import com.lowagie.text.Image;
import com.lowagie.text.pdf.PdfContentByte;

I am using the lowagie library to do this. I then send this ByteArrayInputStream to PDFBox for printing.

Thanks again
jQuery in Action, 2nd edition
subject: how to rotate an image with itext
Similar Threads
page imports and uri
How Do I get Pdf Image Header to Appear on the First Page?
My header is not Appearing on the First Page Please help!
How to set icon at net beans
what is wrong in the code?