Package | Description |
---|---|
com.itextpdf.text | |
com.itextpdf.text.html.simpleparser | |
com.itextpdf.text.pdf | |
com.itextpdf.text.pdf.codec | |
com.itextpdf.text.pdf.codec.wmf | |
com.itextpdf.tool.xml.css.apply |
Contains classes that can apply css rules on certain
Element s. |
com.itextpdf.tool.xml.net |
Classes to ease the reading of data from files, streams or URLs.
|
com.itextpdf.tool.xml.pipeline.html |
Contains pipeline stuff for HTML
|
Modifier and Type | Class | Description |
---|---|---|
class |
ImgCCITT |
CCITT Image data that has to be inserted into the document
|
class |
ImgJBIG2 |
Support for JBIG2 images.
|
class |
ImgRaw |
Raw Image data that has to be inserted into the document
|
class |
ImgTemplate |
PdfTemplate that has to be inserted into the document
|
class |
ImgWMF |
An
ImgWMF is the representation of a windows metafile
that has to be inserted into the document |
class |
Jpeg |
An
Jpeg is the representation of a graphic element (JPEG)
that has to be inserted into the document |
class |
Jpeg2000 |
An
Jpeg2000 is the representation of a graphic element (JPEG)
that has to be inserted into the document |
Modifier and Type | Field | Description |
---|---|---|
protected Image |
Image.imageMask |
The image that serves as a mask for this image.
|
Modifier and Type | Method | Description |
---|---|---|
Image |
Chunk.getImage() |
Returns the image.
|
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 Image
|
static 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 Image
|
static Image |
Image.getInstance(PdfContentByte cb,
java.awt.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 Image
|
static Image |
Image.getInstance(PdfWriter writer,
java.awt.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(java.awt.Image image,
java.awt.Color color) |
Gets an instance of an Image from a java.awt.Image.
|
static Image |
Image.getInstance(java.awt.Image image,
java.awt.Color color,
boolean forceBW) |
Gets an instance of an Image from a java.awt.Image.
|
static Image |
Image.getInstance(java.lang.String filename) |
Gets an instance of an Image.
|
static Image |
Image.getInstance(java.lang.String filename,
boolean recoverFromImageError) |
|
static Image |
Image.getInstance(java.net.URL url) |
|
static Image |
Image.getInstance(java.net.URL url,
boolean recoverFromImageError) |
Gets an instance of an Image.
|
Modifier and Type | Method | Description |
---|---|---|
static Image |
Image.getInstance(Image image) |
gets an instance of an Image
|
void |
Image.setImageMask(Image mask) |
Sets the explicit masking.
|
Constructor | Description |
---|---|
Chunk(Image image,
float offsetX,
float offsetY) |
Constructs a chunk containing an
Image . |
Chunk(Image image,
float offsetX,
float offsetY,
boolean changeLeading) |
Constructs a chunk containing an
Image . |
Image(Image image) |
Constructs an
Image -object, using an url . |
Modifier and Type | Method | Description |
---|---|---|
Image |
ElementFactory.createImage(java.lang.String src,
java.util.Map<java.lang.String,java.lang.String> attrs,
ChainedProperties chain,
DocListener document,
ImageProvider img_provider,
java.util.HashMap<java.lang.String,Image> img_store,
java.lang.String img_baseurl) |
Deprecated.
|
Image |
HTMLWorker.createImage(java.util.Map<java.lang.String,java.lang.String> attrs) |
Deprecated.
Creates an Image object.
|
Image |
ImageProvider.getImage(java.lang.String src,
java.util.Map<java.lang.String,java.lang.String> attrs,
ChainedProperties chain,
DocListener doc) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
ImageProcessor.process(Image img,
java.util.Map<java.lang.String,java.lang.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,
java.util.Map<java.lang.String,java.lang.String> attrs) |
Deprecated.
Processes an Image.
|
Modifier and Type | Method | Description |
---|---|---|
Image |
ElementFactory.createImage(java.lang.String src,
java.util.Map<java.lang.String,java.lang.String> attrs,
ChainedProperties chain,
DocListener document,
ImageProvider img_provider,
java.util.HashMap<java.lang.String,Image> img_store,
java.lang.String img_baseurl) |
Deprecated.
|
Modifier and Type | Field | Description |
---|---|---|
protected Image |
PdfChunk.image |
The image in this
PdfChunk , if it has one |
protected Image |
PdfImage.image |
|
protected Image |
PdfDocument.imageWait |
This is the image that could not be shown on a previous page.
|
Modifier and Type | Method | Description |
---|---|---|
Image |
BarcodeDatamatrix.createImage() |
Gets an
Image with the barcode. |
Image |
Barcode.createImageWithBarcode(PdfContentByte cb,
BaseColor barColor,
BaseColor textColor) |
Creates an
Image with the barcode. |
Image |
BarcodePDF417.getImage() |
Gets an
Image with the barcode. |
Image |
BarcodeQRCode.getImage() |
Gets an
Image with the barcode. |
Image |
PdfImage.getImage() |
|
Image |
PdfPCell.getImage() |
Getter for property image.
|
Image |
PdfSignatureAppearance.getImage() |
Gets the background image for the layer 2.
|
Image |
PushbuttonField.getImage() |
Getter for property image.
|
Image |
PdfSignatureAppearance.getSignatureGraphic() |
Gets the Image object to render.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
PdfDocument.add(Image image) |
Adds an image to the document.
|
void |
PdfPTable.addCell(Image image) |
Adds an Image as Cell.
|
PdfName |
PdfWriter.addDirectImageSimple(Image image) |
Use this method to adds an image to the document
but not to the page resources.
|
PdfName |
PdfWriter.addDirectImageSimple(Image image,
PdfIndirectReference fixedRef) |
Adds an image to the document but not to the page resources.
|
void |
PdfContentByte.addImage(Image image) |
Adds an
Image to the page. |
void |
PdfContentByte.addImage(Image image,
boolean inlineImage) |
Adds an
Image to the page. |
void |
PdfContentByte.addImage(Image image,
double a,
double b,
double c,
double d,
double e,
double f) |
Adds an
Image to the page. |
void |
PdfContentByte.addImage(Image image,
double a,
double b,
double c,
double d,
double e,
double f,
boolean inlineImage) |
Adds an
Image 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 an
Image to the page. |
void |
PdfContentByte.addImage(Image image,
float a,
float b,
float c,
float d,
float e,
float f) |
Adds an
Image to the page. |
void |
PdfContentByte.addImage(Image image,
float a,
float b,
float c,
float d,
float e,
float f,
boolean inlineImage) |
Adds an
Image to the page. |
void |
PdfContentByte.addImage(Image image,
AffineTransform transform) |
adds an image with the given matrix.
|
void |
PdfContentByte.addImage(Image image,
java.awt.geom.AffineTransform transform) |
Deprecated.
use com.itextpdf.text.geom.AffineTransform as parameter
|
void |
PdfImportedPage.addImage(Image image,
float a,
float b,
float c,
float d,
float e,
float f) |
Always throws an error.
|
void |
PdfPatternPainter.addImage(Image image,
float a,
float b,
float c,
float d,
float e,
float f) |
|
void |
Type3Glyph.addImage(Image image,
float a,
float b,
float c,
float d,
float e,
float f,
boolean inlineImage) |
|
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(java.lang.String field,
Image image) |
|
void |
PdfPCell.setImage(Image image) |
Setter for property image.
|
void |
PdfSignatureAppearance.setImage(Image image) |
Sets the background image for the layer 2.
|
void |
PushbuttonField.setImage(Image image) |
Sets the icon as an image.
|
void |
PdfSignatureAppearance.setSignatureGraphic(Image signatureGraphic) |
Sets the Image object to render when Render is set to
RenderingMode.GRAPHIC
or RenderingMode.GRAPHIC_AND_DESCRIPTION . |
void |
PdfStamper.setThumbnail(Image image,
int page) |
Sets the thumbnail image for a page.
|
void |
PdfWriter.setThumbnail(Image image) |
Use this method to set the thumbnail image for the current page.
|
Constructor | Description |
---|---|
PdfImage(Image image,
java.lang.String name,
PdfIndirectReference maskRef) |
Constructs a
PdfImage -object. |
PdfPCell(Image image) |
Constructs a
PdfPCell with an Image . |
PdfPCell(Image image,
boolean fit) |
Constructs a
PdfPCell with an Image . |
Modifier and Type | Method | Description |
---|---|---|
static Image |
BmpImage.getImage(byte[] data) |
Reads a BMP from a byte array.
|
static Image |
BmpImage.getImage(java.io.InputStream is) |
Reads a BMP from a stream.
|
static Image |
BmpImage.getImage(java.io.InputStream is,
boolean noHeader,
int size) |
Reads a BMP from a stream.
|
static Image |
BmpImage.getImage(java.lang.String file) |
Reads a BMP from a file.
|
static Image |
BmpImage.getImage(java.net.URL url) |
Reads a BMP from an url.
|
Image |
GifImage.getImage(int frame) |
Gets the image from a frame.
|
static Image |
PngImage.getImage(byte[] data) |
Reads a PNG from a byte array.
|
static Image |
PngImage.getImage(java.io.InputStream is) |
Reads a PNG from a stream.
|
static Image |
PngImage.getImage(java.lang.String file) |
Reads a PNG from a file.
|
static Image |
PngImage.getImage(java.net.URL url) |
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) |
Modifier and Type | Method | Description |
---|---|---|
static byte[] |
MetaDo.wrapBMP(Image image) |
Modifier and Type | Method | Description |
---|---|---|
Image |
ImageCssApplier.apply(Image img,
Tag tag) |
Applies CSS to an Image.
|
Image |
ImageCssApplier.apply(Image img,
Tag tag,
MarginMemory mm,
PageSizeContainable psc,
HtmlPipelineContext ctx) |
Modifier and Type | Method | Description |
---|---|---|
Image |
ImageCssApplier.apply(Image img,
Tag tag) |
Applies CSS to an Image.
|
Image |
ImageCssApplier.apply(Image img,
Tag tag,
MarginMemory mm,
PageSizeContainable psc,
HtmlPipelineContext ctx) |
Modifier and Type | Method | Description |
---|---|---|
Image |
ImageRetrieve.retrieveImage(java.lang.String src) |
Modifier and Type | Method | Description |
---|---|---|
Image |
AbstractImageProvider.retrieve(java.lang.String src) |
|
Image |
ImageProvider.retrieve(java.lang.String src) |
Retrieve and image from the store.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractImageProvider.store(java.lang.String src,
Image img) |
|
void |
ImageProvider.store(java.lang.String src,
Image img) |
Store allows ImageProvider users to cache the found images.
|
Copyright © 1998–2018. All rights reserved.