Class PDFImage


  • public class PDFImage
    extends Object
    Represents an image from a PDF document.
    Since:
    14.4.2, 14.5
    Version:
    $Id: 2cf29ad0a6a1c79b42d589f78062c6f942c007e4 $
    • Constructor Detail

      • PDFImage

        protected PDFImage​(org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject image)
        Creates a new instance wrapping the given PDF image.
        Parameters:
        image - the PDF image to wrap
    • Method Detail

      • getHeight

        public int getHeight()
        Returns:
        the image height
      • getWidth

        public int getWidth()
        Returns:
        the image width