Uses of Class
com.itextpdf.text.Image
Packages that use Image
Package
Description
Contains classes that can apply css rules on certain
Element
s.Classes to ease the reading of data from files, streams or URLs.
Contains pipeline stuff for HTML
-
Uses of Image in com.itextpdf.text
Subclasses of Image in com.itextpdf.textModifier and TypeClassDescriptionclass
CCITT Image data that has to be inserted into the documentclass
Support for JBIG2 images.class
Raw Image data that has to be inserted into the documentclass
PdfTemplate that has to be inserted into the documentclass
AnImgWMF
is the representation of a windows metafile that has to be inserted into the documentclass
AnJpeg
is the representation of a graphic element (JPEG) that has to be inserted into the documentclass
AnJpeg2000
is the representation of a graphic element (JPEG) that has to be inserted into the documentFields in com.itextpdf.text declared as ImageModifier and TypeFieldDescriptionprotected Image
Image.imageMask
The image that serves as a mask for this image.Methods in com.itextpdf.text that return ImageModifier and TypeMethodDescriptionChunk.getImage()
Returns the image.Image.getImageMask()
Gets the explicit masking.static Image
Image.getInstance
(byte[] imgb) static Image
Image.getInstance
(byte[] imgb, boolean recoverFromImageError) gets an instance of an Imagestatic Image
Image.getInstance
(int width, int height, boolean reverseBits, int typeCCITT, int parameters, byte[] data) Creates an Image with CCITT G3 or G4 compression.static Image
Image.getInstance
(int width, int height, boolean reverseBits, int typeCCITT, int parameters, byte[] data, int[] transparency) Creates an Image with CCITT G3 or G4 compression.static Image
Image.getInstance
(int width, int height, byte[] data, byte[] globals) Creates a JBIG2 Image.static Image
Image.getInstance
(int width, int height, int components, int bpc, byte[] data) Gets an instance of an Image in raw mode.static Image
Image.getInstance
(int width, int height, int components, int bpc, byte[] data, int[] transparency) Gets an instance of an Image in raw mode.static Image
Image.getInstance
(Image image) gets an instance of an Imagestatic Image
Image.getInstance
(PdfContentByte cb, Image awtImage, float quality) Gets an instance of a Image from a java.awt.Image.static Image
Image.getInstance
(PdfTemplate template) gets an instance of an Imagestatic Image
Image.getInstance
(PdfWriter writer, Image awtImage, float quality) Gets an instance of a Image from a java.awt.Image.static Image
Image.getInstance
(PRIndirectReference ref) Reuses an existing image.static Image
Image.getInstance
(Image image, Color color) Gets an instance of an Image from a java.awt.Image.static Image
Image.getInstance
(Image image, Color color, boolean forceBW) Gets an instance of an Image from a java.awt.Image.static Image
Image.getInstance
(String filename) Gets an instance of an Image.static Image
Image.getInstance
(String filename, boolean recoverFromImageError) static Image
Image.getInstance
(URL url) static Image
Image.getInstance
(URL url, boolean recoverFromImageError) Gets an instance of an Image.Methods in com.itextpdf.text with parameters of type ImageModifier and TypeMethodDescriptionstatic Image
Image.getInstance
(Image image) gets an instance of an Imagevoid
Image.setImageMask
(Image mask) Sets the explicit masking.Constructors in com.itextpdf.text with parameters of type ImageModifierConstructorDescriptionConstructs a chunk containing anImage
.Constructs a chunk containing anImage
.protected
Constructs anImage
-object, using an url .(package private)
(package private)
Copy contstructor.(package private)
(package private)
ImgTemplate
(Image image) (package private)
(package private)
(package private)
-
Uses of Image in com.itextpdf.text.html.simpleparser
Methods in com.itextpdf.text.html.simpleparser that return ImageModifier and TypeMethodDescriptionElementFactory.createImage
(String src, Map<String, String> attrs, ChainedProperties chain, DocListener document, ImageProvider img_provider, HashMap<String, Image> img_store, String img_baseurl) Deprecated.HTMLWorker.createImage
(Map<String, String> attrs) Deprecated.Creates an Image object.ImageProvider.getImage
(String src, Map<String, String> attrs, ChainedProperties chain, DocListener doc) Deprecated.Methods in com.itextpdf.text.html.simpleparser with parameters of type ImageModifier and TypeMethodDescriptionboolean
ImageProcessor.process
(Image img, Map<String, String> attrs, ChainedProperties chain, DocListener doc) Deprecated.Allows you to (pre)process the image before (or instead of) adding it to the DocListener with HTMLWorker.void
HTMLWorker.processImage
(Image img, Map<String, String> attrs) Deprecated.Processes an Image.Method parameters in com.itextpdf.text.html.simpleparser with type arguments of type ImageModifier and TypeMethodDescriptionElementFactory.createImage
(String src, Map<String, String> attrs, ChainedProperties chain, DocListener document, ImageProvider img_provider, HashMap<String, Image> img_store, String img_baseurl) Deprecated. -
Uses of Image in com.itextpdf.text.pdf
Fields in com.itextpdf.text.pdf declared as ImageModifier and TypeFieldDescriptionprivate Image
PdfDiv.backgroundImage
protected Image
PdfChunk.image
The image in thisPdfChunk
, if it has oneprotected Image
PdfImage.image
private Image
PdfPCell.image
Holds value of property image.private Image
PdfSignatureAppearance.image
A background image for the text in layer 2.private Image
PushbuttonField.image
Holds value of property image.protected Image
PdfDocument.imageWait
This is the image that could not be shown on a previous page.private Image
PdfSignatureAppearance.signatureGraphic
The image that needs to be used for a visible signatureMethods in com.itextpdf.text.pdf that return ImageModifier and TypeMethodDescriptionBarcodeDatamatrix.createImage()
Gets anImage
with the barcode.Barcode.createImageWithBarcode
(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Creates anImage
with the barcode.BarcodePDF417.getImage()
Gets anImage
with the barcode.BarcodeQRCode.getImage()
Gets anImage
with the barcode.(package private) Image
PdfChunk.getImage()
Gets the image in thePdfChunk
.PdfImage.getImage()
PdfPCell.getImage()
Getter for property image.PdfSignatureAppearance.getImage()
Gets the background image for the layer 2.PushbuttonField.getImage()
Getter for property image.PdfSignatureAppearance.getSignatureGraphic()
Gets the Image object to render.Methods in com.itextpdf.text.pdf with parameters of type ImageModifier and TypeMethodDescriptionprotected void
Adds an image to the document.void
Adds an Image as Cell.PdfWriter.addDirectImageSimple
(Image image) Use this method to adds an image to the document but not to the page resources.PdfWriter.addDirectImageSimple
(Image image, PdfIndirectReference fixedRef) Adds an image to the document but not to the page resources.void
Adds anImage
to the page.void
Adds anImage
to the page.void
Adds anImage
to the page.void
PdfContentByte.addImage
(Image image, double a, double b, double c, double d, double e, double f, boolean inlineImage) Adds anImage
to the page.protected void
PdfContentByte.addImage
(Image image, double a, double b, double c, double d, double e, double f, boolean inlineImage, boolean isMCBlockOpened) Adds anImage
to the page.void
Adds anImage
to the page.void
PdfContentByte.addImage
(Image image, float a, float b, float c, float d, float e, float f, boolean inlineImage) Adds anImage
to the page.void
PdfContentByte.addImage
(Image image, AffineTransform transform) adds an image with the given matrix.void
PdfContentByte.addImage
(Image image, AffineTransform transform) Deprecated.use com.itextpdf.text.geom.AffineTransform as parametervoid
Always throws an error.void
void
Type3Glyph.addImage
(Image image, float a, float b, float c, float d, float e, float f, boolean inlineImage) private void
PdfImage.generateImgResName
(Image img) Called when no resource name is provided in our constructor.void
PdfDiv.setBackgroundImage
(Image image) Image will be scaled to fit in the div occupied area.void
PdfDiv.setBackgroundImage
(Image image, float width, float height) Image will be scaled to fit in the div occupied area.boolean
FdfWriter.setFieldAsImage
(String field, Image image) void
Setter for property image.void
Sets the background image for the layer 2.void
Sets the icon as an image.void
PdfSignatureAppearance.setSignatureGraphic
(Image signatureGraphic) Sets the Image object to render when Render is set toRenderingMode.GRAPHIC
orRenderingMode.GRAPHIC_AND_DESCRIPTION
.(package private) void
PdfDocument.setThumbnail
(Image image) void
PdfStamper.setThumbnail
(Image image, int page) Sets the thumbnail image for a page.void
PdfStamperImp.setThumbnail
(Image image) (package private) void
PdfStamperImp.setThumbnail
(Image image, int page) void
PdfWriter.setThumbnail
(Image image) Use this method to set the thumbnail image for the current page.private void
PdfStructureElement.writeAttributes
(Image image) Constructors in com.itextpdf.text.pdf with parameters of type Image -
Uses of Image in com.itextpdf.text.pdf.codec
Fields in com.itextpdf.text.pdf.codec declared as ImageMethods in com.itextpdf.text.pdf.codec that return ImageModifier and TypeMethodDescriptionprivate Image
BmpImage.getImage()
static Image
BmpImage.getImage
(byte[] data) Reads a BMP from a byte array.static Image
BmpImage.getImage
(InputStream is) Reads a BMP from a stream.static Image
BmpImage.getImage
(InputStream is, boolean noHeader, int size) Reads a BMP from a stream.static Image
Reads a BMP from a file.static Image
Reads a BMP from an url.GifImage.getImage
(int frame) Gets the image from a frame.(package private) Image
PngImage.getImage()
static Image
PngImage.getImage
(byte[] data) Reads a PNG from a byte array.static Image
PngImage.getImage
(InputStream is) Reads a PNG from a stream.static Image
Reads a PNG from a file.static Image
Reads a PNG from an url.static Image
JBIG2Image.getJbig2Image
(RandomAccessFileOrArray ra, int page) returns an Image representing the given page.static Image
TiffImage.getTiffImage
(RandomAccessFileOrArray s, boolean recoverFromImageError, int page) static Image
TiffImage.getTiffImage
(RandomAccessFileOrArray s, boolean recoverFromImageError, int page, boolean direct) static Image
TiffImage.getTiffImage
(RandomAccessFileOrArray s, int page) Reads a page from a TIFF image.static Image
TiffImage.getTiffImage
(RandomAccessFileOrArray s, int page, boolean direct) Reads a page from a TIFF image.protected static Image
TiffImage.getTiffImageColor
(TIFFDirectory dir, RandomAccessFileOrArray s) private Image
BmpImage.indexedModel
(byte[] bdata, int bpc, int paletteEntries) (package private) static Image
TiffImage.ProcessExtraSamples
(DeflaterOutputStream zip, DeflaterOutputStream mzip, byte[] outBuf, int samplePerPixel, int bitsPerSample, int width, int height) private Image
BmpImage.read1632Bit
(boolean is32) private Image
BmpImage.read1Bit
(int paletteEntries) private Image
BmpImage.read4Bit
(int paletteEntries) private Image
BmpImage.read8Bit
(int paletteEntries) private Image
BmpImage.readRLE4()
private Image
BmpImage.readRLE8()
-
Uses of Image in com.itextpdf.text.pdf.codec.wmf
Methods in com.itextpdf.text.pdf.codec.wmf with parameters of type Image -
Uses of Image in com.itextpdf.tool.xml.css.apply
Methods in com.itextpdf.tool.xml.css.apply that return ImageModifier and TypeMethodDescriptionApplies CSS to an Image.ImageCssApplier.apply
(Image img, Tag tag, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) Methods in com.itextpdf.tool.xml.css.apply with parameters of type ImageModifier and TypeMethodDescriptionApplies CSS to an Image.ImageCssApplier.apply
(Image img, Tag tag, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) -
Uses of Image in com.itextpdf.tool.xml.net
Methods in com.itextpdf.tool.xml.net that return ImageModifier and TypeMethodDescriptionImageRetrieve.retrieveImage
(String src) private Image
ImageRetrieve.tryRetrieveImageWithImageProvider
(String src) -
Uses of Image in com.itextpdf.tool.xml.pipeline.html
Fields in com.itextpdf.tool.xml.pipeline.html with type parameters of type ImageMethods in com.itextpdf.tool.xml.pipeline.html that return ImageModifier and TypeMethodDescriptionRetrieve and image from the store.Methods in com.itextpdf.tool.xml.pipeline.html with parameters of type Image