static PDImageXObject |
CCITTFactory.createFromByteArray(PDDocument document,
byte[] byteArray) |
Creates a new CCITT Fax compressed image XObject from a specific image of a TIFF file stored
in a byte array.
|
static PDImageXObject |
CCITTFactory.createFromByteArray(PDDocument document,
byte[] byteArray,
int number) |
Creates a new CCITT Fax compressed image XObject from a specific image of a TIFF file stored
in a byte array.
|
static PDImageXObject |
JPEGFactory.createFromByteArray(PDDocument document,
byte[] byteArray) |
Creates a new JPEG Image XObject from a byte array containing JPEG data.
|
static PDImageXObject |
PDImageXObject.createFromByteArray(PDDocument document,
byte[] byteArray,
java.lang.String name) |
Create a PDImageXObject from bytes of an image file.
|
static PDImageXObject |
CCITTFactory.createFromFile(PDDocument document,
java.io.File file) |
Creates a new CCITT Fax compressed image XObject from the first image of a TIFF file.
|
static PDImageXObject |
CCITTFactory.createFromFile(PDDocument document,
java.io.File file,
int number) |
Creates a new CCITT Fax compressed image XObject from a specific image of a TIFF file.
|
static PDImageXObject |
PDImageXObject.createFromFile(java.lang.String imagePath,
PDDocument doc) |
|
static PDImageXObject |
PDImageXObject.createFromFileByContent(java.io.File file,
PDDocument doc) |
Create a PDImageXObject from an image file.
|
static PDImageXObject |
PDImageXObject.createFromFileByExtension(java.io.File file,
PDDocument doc) |
Create a PDImageXObject from an image file.
|
static PDImageXObject |
CCITTFactory.createFromImage(PDDocument document,
java.awt.image.BufferedImage image) |
Creates a new CCITT group 4 (T6) compressed image XObject from a b/w BufferedImage.
|
static PDImageXObject |
JPEGFactory.createFromImage(PDDocument document,
java.awt.image.BufferedImage image) |
Creates a new JPEG PDImageXObject from a BufferedImage.
|
static PDImageXObject |
JPEGFactory.createFromImage(PDDocument document,
java.awt.image.BufferedImage image,
float quality) |
Creates a new JPEG PDImageXObject from a BufferedImage and a given quality.
|
static PDImageXObject |
JPEGFactory.createFromImage(PDDocument document,
java.awt.image.BufferedImage image,
float quality,
int dpi) |
Creates a new JPEG Image XObject from a BufferedImage, a given quality and dpi metadata.
|
static PDImageXObject |
LosslessFactory.createFromImage(PDDocument document,
java.awt.image.BufferedImage image) |
Creates a new lossless encoded image XObject from a BufferedImage.
|
static PDImageXObject |
CCITTFactory.createFromRandomAccess(PDDocument document,
RandomAccess reader) |
Deprecated.
|
static PDImageXObject |
CCITTFactory.createFromRandomAccess(PDDocument document,
RandomAccess reader,
int number) |
Deprecated.
|
static PDImageXObject |
JPEGFactory.createFromStream(PDDocument document,
java.io.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.
|