Schnittstelle IPdfBoxGraphics2DImageEncoder

Alle bekannten Implementierungsklassen:
PdfBoxGraphics2DLosslessImageEncoder

public interface IPdfBoxGraphics2DImageEncoder
Encode and compress an image as PDImageXObject
  • Methodendetails

    • encodeImage

      org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject encodeImage(org.apache.pdfbox.pdmodel.PDDocument document, org.apache.pdfbox.pdmodel.PDPageContentStream contentStream, Image image, IPdfBoxGraphics2DImageEncoder.IPdfBoxGraphics2DImageEncoderEnv env)
      Encode the given image into the a PDImageXObject
      Parameter:
      document - the PDF document
      contentStream - the content stream of the page
      image - the image to encode
      Gibt zurück:
      the encoded image