File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to rotate an image with itext

 
Stan F Smith
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic