Interface IPdfImage


public interface IPdfImage
Represents an image included in the PDF, which could e.g. be used for illustrations or logos.
Since:
7.2.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • getId

      String getId()
      Returns:
      ID of this image, which is among all images of the same PDF document.
    • getName

      String getName()
      Returns:
      The name of the image.
    • getRenderedImage

      RenderedImage getRenderedImage() throws IOException
      Returns:
      The image included in the PDF.
      Throws:
      IOException - When the image could not be acquired.
    • getTransform

      AffineTransform getTransform()
      Returns the transform for the image, which transforms from PDF coordinates to page coordinates. The PDF and apge coordinate system places the origin at the bottom left corner of the page. The getRenderedImage() always has a width and height of 1 unit in PDF coordinates.
      Returns:
      The transform for the image.
    • getZeroBasedPageIndex

      int getZeroBasedPageIndex()
      Returns:
      The 0-based index of the page containing this field.