Package | Description |
---|---|
org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
org.apache.pdfbox.pdmodel.graphics.image |
This package deals with images that are stored in a PDF document.
|
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible |
This is the visual signature part that help creating the visual representation for the digital signature.
|
Modifier and Type | Method and Description |
---|---|
COSName |
PDResources.add(PDImageXObject image)
Adds the given image to the resources of the current page and returns the name for the
new resources.
|
void |
PDPageContentStream.drawImage(PDImageXObject image,
float x,
float y)
Draw an image at the x,y coordinates, with the default size of the image.
|
void |
PDPageContentStream.drawImage(PDImageXObject image,
float x,
float y,
float width,
float height)
Draw an image at the x,y coordinates, with the given size.
|
Modifier and Type | Method and Description |
---|---|
static PDImageXObject |
CCITTFactory.createFromFile(PDDocument document,
File file)
Creates a new CCITT Fax compressed image XObject from the first image of a TIFF file.
|
static PDImageXObject |
CCITTFactory.createFromFile(PDDocument document,
File file,
int number)
Creates a new CCITT Fax compressed image XObject from a specific image of a TIFF file.
|
static PDImageXObject |
PDImageXObject.createFromFile(String imagePath,
PDDocument doc)
Create a PDImageXObject from an image file, see
createFromFileByExtension(File, PDDocument) for
more details. |
static PDImageXObject |
PDImageXObject.createFromFileByContent(File file,
PDDocument doc)
Create a PDImageXObject from an image file.
|
static PDImageXObject |
PDImageXObject.createFromFileByExtension(File file,
PDDocument doc)
Create a PDImageXObject from an image file.
|
static PDImageXObject |
LosslessFactory.createFromImage(PDDocument document,
BufferedImage image)
Creates a new lossless encoded Image XObject from a Buffered Image.
|
static PDImageXObject |
JPEGFactory.createFromImage(PDDocument document,
BufferedImage image)
Creates a new JPEG Image XObject from a Buffered Image.
|
static PDImageXObject |
JPEGFactory.createFromImage(PDDocument document,
BufferedImage image,
float quality)
Creates a new JPEG Image XObject from a Buffered Image and a given quality.
|
static PDImageXObject |
JPEGFactory.createFromImage(PDDocument document,
BufferedImage image,
float quality,
int dpi)
Creates a new JPEG Image XObject from a Buffered Image, a given quality and DPI.
|
static PDImageXObject |
CCITTFactory.createFromRandomAccess(PDDocument document,
RandomAccess reader)
Deprecated.
Use
CCITTFactory.createFromFile(PDDocument, File) instead. |
static PDImageXObject |
CCITTFactory.createFromRandomAccess(PDDocument document,
RandomAccess reader,
int number)
Deprecated.
Use
CCITTFactory.createFromFile(PDDocument, File, int) instead. |
static PDImageXObject |
JPEGFactory.createFromStream(PDDocument document,
InputStream stream)
Creates a new JPEG Image XObject from an input stream containing JPEG data.
|
static PDImageXObject |
PDImageXObject.createThumbnail(COSStream cosStream)
Creates a thumbnail Image XObject from the given COSBase and name.
|
PDImageXObject |
PDImageXObject.getMask()
Returns the Mask Image XObject associated with this image, or null if there is none.
|
PDImageXObject |
PDImageXObject.getSoftMask()
Returns the Soft Mask Image XObject associated with this image, or null if there is none.
|
Modifier and Type | Method and Description |
---|---|
PDImageXObject |
PDFTemplateStructure.getImage()
Gets the image of visible signature
|
Modifier and Type | Method and Description |
---|---|
void |
PDVisibleSigBuilder.createImageForm(PDResources imageFormResources,
PDResources innerFormResource,
PDStream imageFormStream,
PDRectangle formrect,
AffineTransform at,
PDImageXObject img) |
void |
PDFTemplateBuilder.createImageForm(PDResources imageFormResources,
PDResources innerFormResource,
PDStream imageFormStream,
PDRectangle formrect,
AffineTransform affineTransform,
PDImageXObject img)
Creates Image form
|
void |
PDFTemplateStructure.setImage(PDImageXObject image)
Sets the image of visible signature
|
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.