Interface IPdfBoxGraphics2DImageEncoder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject encodeImage​(org.apache.pdfbox.pdmodel.PDDocument document, org.apache.pdfbox.pdmodel.PDPageContentStream contentStream, Image image)
      Encode the given image into the a PDImageXObject
    • Method Detail

      • encodeImage

        org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject encodeImage​(org.apache.pdfbox.pdmodel.PDDocument document,
                                                                            org.apache.pdfbox.pdmodel.PDPageContentStream contentStream,
                                                                            Image image)
        Encode the given image into the a PDImageXObject
        Parameters:
        document - the PDF document
        contentStream - the content stream of the page
        image - the image to encode
        Returns:
        the encoded image