Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to rotate an image with itext  RSS feed

Stan F Smith
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!