Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to rotate an image with itext  RSS feed

 
Stan F Smith
Greenhorn
Posts: 20
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!