Uses of Interface
org.apache.pdfbox.pdmodel.graphics.image.PDImage
-
Packages that use PDImage 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 -
-
Uses of PDImage in org.apache.pdfbox.contentstream
Methods in org.apache.pdfbox.contentstream with parameters of type PDImage Modifier and Type Method Description abstract void
PDFGraphicsStreamEngine. drawImage(PDImage pdImage)
Draw the image. -
Uses of PDImage in org.apache.pdfbox.pdmodel.graphics.image
Classes in org.apache.pdfbox.pdmodel.graphics.image that implement PDImage Modifier and Type Class 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.Methods in org.apache.pdfbox.pdmodel.graphics.image with parameters of type PDImage Modifier and Type Method 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.WritableRaster
SampledImageReader. getRawRaster(PDImage pdImage)
Extract the raw unconverted raster of the given imagestatic 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. 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. getStencilImage(PDImage pdImage, java.awt.Paint paint)
Returns an ARGB image filled with the given paint and using the given image as a mask.private static void
SampledImageReader. readRasterFromAny(PDImage pdImage, java.awt.image.WritableRaster raster)
-
Uses of PDImage in org.apache.pdfbox.rendering
Methods in org.apache.pdfbox.rendering with parameters of type PDImage Modifier and Type Method 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 -
Uses of PDImage in org.apache.pdfbox.tools
Methods in org.apache.pdfbox.tools with parameters of type PDImage Modifier and Type Method Description void
ExtractImages.ImageGraphicsEngine. drawImage(PDImage pdImage)
private boolean
ExtractImages.ImageGraphicsEngine. hasMasks(PDImage pdImage)
private void
ExtractImages.ImageGraphicsEngine. write2file(PDImage pdImage, java.lang.String prefix, boolean directJPEG, boolean noColorConvert)
Writes the image to a file with the filename prefix + an appropriate suffix, like "Image.jpg".
-