Package | Description |
---|---|
org.apache.pdfbox.contentstream |
This package contains provides classes for working with content streams.
|
org.apache.pdfbox.pdmodel.graphics.image |
This package deals with images that are stored in a PDF document.
|
org.apache.pdfbox.rendering | |
org.apache.pdfbox.tools |
Modifier and Type | Method and Description |
---|---|
abstract void |
PDFGraphicsStreamEngine.drawImage(PDImage pdImage)
Draw the image.
|
Modifier and Type | Class and Description |
---|---|
class |
PDImageXObject
An Image XObject.
|
class |
PDInlineImage
An inline image object which uses a special syntax to express the data for a
small image directly within the content stream.
|
Modifier and Type | Method and Description |
---|---|
private static java.awt.Rectangle |
SampledImageReader.clipRegion(PDImage pdImage,
java.awt.Rectangle region) |
private static java.awt.image.BufferedImage |
SampledImageReader.from1Bit(PDImage pdImage,
java.awt.Rectangle clipped,
int subsampling,
int width,
int height) |
private static java.awt.image.BufferedImage |
SampledImageReader.from8bit(PDImage pdImage,
java.awt.image.WritableRaster raster,
java.awt.Rectangle clipped,
int subsampling,
int width,
int height) |
private static java.awt.image.BufferedImage |
SampledImageReader.fromAny(PDImage pdImage,
java.awt.image.WritableRaster raster,
COSArray colorKey,
java.awt.Rectangle clipped,
int subsampling,
int width,
int height) |
private static float[] |
SampledImageReader.getDecodeArray(PDImage pdImage) |
static java.awt.image.BufferedImage |
SampledImageReader.getRGBImage(PDImage pdImage,
COSArray colorKey)
Returns the content of the given image as an AWT buffered image with an RGB color space.
|
static java.awt.image.BufferedImage |
SampledImageReader.getRGBImage(PDImage pdImage,
java.awt.Rectangle region,
int subsampling,
COSArray colorKey)
Returns the content of the given image as an AWT buffered image with an RGB color space.
|
static java.awt.image.BufferedImage |
SampledImageReader.getStencilImage(PDImage pdImage,
java.awt.Paint paint)
Returns an ARGB image filled with the given paint and using the given image as a mask.
|
Modifier and Type | Method and Description |
---|---|
void |
PageDrawer.drawImage(PDImage pdImage) |
private int |
PageDrawer.getSubsampling(PDImage pdImage,
java.awt.geom.AffineTransform at)
Calculated the subsampling frequency for a given PDImage based on the current transformation
and its calculated transform
|
Modifier and Type | Method and Description |
---|---|
void |
ExtractImages.ImageGraphicsEngine.drawImage(PDImage pdImage) |
private boolean |
ExtractImages.hasMasks(PDImage pdImage) |
private void |
ExtractImages.write2file(PDImage pdImage,
java.lang.String prefix,
boolean directJPEG)
Writes the image to a file with the filename prefix + an appropriate suffix, like "Image.jpg".
|