Uses of Interface
org.apache.pdfbox.pdmodel.graphics.image.PDImage
Packages that use PDImage
Package
Description
This package contains provides classes for working with content streams.
This package deals with images that are stored in a PDF document.
-
Uses of PDImage in org.apache.pdfbox.contentstream
Methods in org.apache.pdfbox.contentstream with parameters of type PDImage -
Uses of PDImage in org.apache.pdfbox.pdmodel.graphics.image
Classes in org.apache.pdfbox.pdmodel.graphics.image that implement PDImageModifier and TypeClassDescriptionfinal class
An Image XObject.final class
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 PDImageModifier and TypeMethodDescriptionprivate static Rectangle
SampledImageReader.clipRegion
(PDImage pdImage, Rectangle region) private static BufferedImage
SampledImageReader.from1Bit
(PDImage pdImage, Rectangle clipped, int subsampling, int width, int height) private static BufferedImage
SampledImageReader.from8bit
(PDImage pdImage, WritableRaster raster, Rectangle clipped, int subsampling, int width, int height) private static BufferedImage
SampledImageReader.fromAny
(PDImage pdImage, WritableRaster raster, COSArray colorKey, Rectangle clipped, int subsampling, int width, int height) private static float[]
SampledImageReader.getDecodeArray
(PDImage pdImage) static WritableRaster
SampledImageReader.getRawRaster
(PDImage pdImage) Extract the raw unconverted raster of the given imagestatic BufferedImage
SampledImageReader.getRGBImage
(PDImage pdImage, Rectangle region, int subsampling, COSArray colorKey) Returns the content of the given image as a newly created AWT buffered image with an RGB color space.static 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 BufferedImage
SampledImageReader.getStencilImage
(PDImage pdImage, 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, WritableRaster raster) -
Uses of PDImage in org.apache.pdfbox.rendering
Methods in org.apache.pdfbox.rendering with parameters of type PDImageModifier and TypeMethodDescriptionvoid
private int
PageDrawer.getSubsampling
(PDImage pdImage, 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 PDImageModifier and TypeMethodDescriptionvoid
private boolean
private void
ExtractImages.ImageGraphicsEngine.write2file
(PDImage pdImage, String prefix, boolean directJPEG, boolean noColorConvert) Writes the image to a file with the filename prefix + an appropriate suffix, like "Image.jpg".