File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

how to rotate an image with itext

Stan F Smith
Greenhorn

Joined: Jun 28, 2011
Posts: 20
Hello,

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
 
Consider Paul's rocket mass heater.
 
subject: how to rotate an image with itext
 
Similar Threads
How Do I get Pdf Image Header to Appear on the First Page?
My header is not Appearing on the First Page Please help!
what is wrong in the code?
How to set icon at net beans
page imports and uri