Package de.rototor.pdfbox.graphics2d
Interface IPdfBoxGraphics2DImageEncoder
-
- All Known Implementing Classes:
PdfBoxGraphics2DLosslessImageEncoder
public interface IPdfBoxGraphics2DImageEncoder
Encode and compress an image as PDImageXObject
-
-
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 documentcontentStream
- the content stream of the pageimage
- the image to encode- Returns:
- the encoded image
-
-