Modifier and Type | Field and Description |
---|---|
protected ImageData |
PdfFormField.img |
Modifier and Type | Class and Description |
---|---|
class |
BmpImageData |
class |
Jbig2ImageData |
class |
Jpeg2000ImageData |
class |
JpegImageData |
class |
PngImageData |
class |
RawImageData |
class |
TiffImageData |
Modifier and Type | Field and Description |
---|---|
protected ImageData |
ImageData.imageMask |
Modifier and Type | Method and Description |
---|---|
static ImageData |
ImageDataFactory.create(byte[] bytes)
Create an ImageData instance representing the image from the image bytes.
|
static ImageData |
ImageDataFactory.create(byte[] bytes, boolean recoverImage)
Create an ImageData instance representing the image from the image bytes.
|
static ImageData |
ImageDataFactory.create(Image image, Color color)
Gets an instance of an Image from a java.awt.Image
|
static ImageData |
ImageDataFactory.create(Image image, Color color, boolean forceBW)
Gets an instance of an Image from a java.awt.Image.
|
static ImageData |
ImageDataFactory.create(int width, int height, boolean reverseBits, int typeCCITT, int parameters, byte[] data, int[] transparency)
Create an ImageData instance from the passed parameters.
|
static ImageData |
ImageDataFactory.create(int width, int height, int components, int bpc, byte[] data, int[] transparency)
Create an ImageData instance from the passed parameters.
|
static ImageData |
ImageDataFactory.create(String filename)
Create an ImageData instance representing the image from the specified file.
|
static ImageData |
ImageDataFactory.create(String filename, boolean recoverImage)
Create an ImageData instance representing the image from the specified file.
|
static ImageData |
ImageDataFactory.create(URL url)
Create an ImageData instance representing the image from the file located at the specified url.
|
static ImageData |
ImageDataFactory.create(URL url, boolean recoverImage)
Create an ImageData instance representing the image from the file located at the specified url.
|
static ImageData |
ImageDataFactory.createBmp(byte[] bytes, boolean noHeader)
Get a bitmap ImageData instance from the provided bytes.
|
static ImageData |
ImageDataFactory.createBmp(byte[] bytes, boolean noHeader, int size)
Deprecated.
will be removed in 7.2
|
static ImageData |
ImageDataFactory.createBmp(URL url, boolean noHeader)
Get a bitmap ImageData instance from the specified url.
|
static ImageData |
ImageDataFactory.createBmp(URL url, boolean noHeader, int size)
Deprecated.
will be removed in 7.2
|
static ImageData |
ImageDataFactory.createGifFrame(byte[] bytes, int frame)
Returns a specified frame of the gif image
|
static ImageData |
ImageDataFactory.createGifFrame(URL url, int frame)
Returns a specified frame of the gif image
|
static ImageData |
ImageDataFactory.createJbig2(byte[] bytes, int page) |
static ImageData |
ImageDataFactory.createJbig2(URL url, int page) |
static ImageData |
ImageDataFactory.createJpeg(byte[] bytes) |
static ImageData |
ImageDataFactory.createJpeg(URL url)
Create an ImageData instance from a Jpeg image url
|
static ImageData |
ImageDataFactory.createJpeg2000(byte[] bytes) |
static ImageData |
ImageDataFactory.createJpeg2000(URL url) |
static ImageData |
ImageDataFactory.createPng(byte[] bytes) |
static ImageData |
ImageDataFactory.createPng(URL url) |
static ImageData |
ImageDataFactory.createRawImage(byte[] bytes) |
static ImageData |
ImageDataFactory.createTiff(byte[] bytes, boolean recoverFromImageError, int page, boolean direct) |
static ImageData |
ImageDataFactory.createTiff(URL url, boolean recoverFromImageError, int page, boolean direct) |
ImageData |
ImageData.getImageMask() |
Modifier and Type | Method and Description |
---|---|
static List<ImageData> |
ImageDataFactory.createGifFrames(byte[] bytes)
Returns List of gif image frames
|
static List<ImageData> |
ImageDataFactory.createGifFrames(byte[] bytes, int[] frameNumbers)
Returns List of gif image frames
|
static List<ImageData> |
ImageDataFactory.createGifFrames(URL url)
Returns List of gif image frames
|
static List<ImageData> |
ImageDataFactory.createGifFrames(URL url, int[] frameNumbers)
Returns List of gif image frames
|
List<ImageData> |
GifImageData.getFrames() |
Modifier and Type | Method and Description |
---|---|
protected void |
GifImageData.addFrame(ImageData frame) |
void |
ImageData.setImageMask(ImageData imageMask) |
Modifier and Type | Method and Description |
---|---|
PdfXObject |
Type3Glyph.addImage(ImageData image, float a, float b, float c, float d, float e, float f, boolean inlineImage)
Creates Image XObject from image and adds it to canvas.
|
Modifier and Type | Method and Description |
---|---|
PdfXObject |
PdfCanvas.addImage(ImageData image, float x, float y, boolean asInline)
Deprecated.
will be removed in 7.2, use
PdfCanvas.addImageAt(ImageData, float, float, boolean) or PdfCanvas.addXObjectAt(PdfXObject, float, float) instead
|
PdfXObject |
PdfCanvas.addImage(ImageData image, float x, float y, float width, boolean asInline)
Deprecated.
will be removed in 7.2, use
PdfCanvas.addImageFittedIntoRectangle(ImageData, Rectangle, boolean) or PdfCanvas.addXObjectFittedIntoRectangle(PdfXObject, Rectangle) instead
|
PdfXObject |
PdfCanvas.addImage(ImageData image, float x, float y, float height, boolean asInline, boolean dummy)
Deprecated.
will be removed in 7.2, use
PdfCanvas.addImageFittedIntoRectangle(ImageData, Rectangle, boolean) or PdfCanvas.addXObjectFittedIntoRectangle(PdfXObject, Rectangle) instead
|
PdfXObject |
PdfCanvas.addImage(ImageData image, float a, float b, float c, float d, float e, float f)
Deprecated.
|
PdfXObject |
PdfCanvas.addImage(ImageData image, float a, float b, float c, float d, float e, float f, boolean asInline)
Deprecated.
will be removed in 7.2, use
PdfCanvas.addImageWithTransformationMatrix(ImageData, float, float, float, float, float, float, boolean) instead
|
PdfXObject |
PdfCanvas.addImage(ImageData image, Rectangle rect, boolean asInline)
Deprecated.
will be removed in 7.2, use
PdfCanvas.addImageFittedIntoRectangle(ImageData, Rectangle, boolean) or PdfCanvas.addXObjectFittedIntoRectangle(PdfXObject, Rectangle) instead
|
PdfXObject |
PdfCanvas.addImageAt(ImageData image, float x, float y, boolean asInline)
Creates PdfImageXObject from image and adds it to the specified position.
|
PdfXObject |
PdfCanvas.addImageFittedIntoRectangle(ImageData image, Rectangle rect, boolean asInline)
Creates PdfImageXObject from image and fitted into specific rectangle on canvas.
|
PdfXObject |
PdfCanvas.addImageWithTransformationMatrix(ImageData image, float a, float b, float c, float d, float e, float f)
Creates PdfImageXObject from image and adds it to canvas.
|
PdfXObject |
PdfCanvas.addImageWithTransformationMatrix(ImageData image, float a, float b, float c, float d, float e, float f, boolean asInline)
Creates PdfImageXObject from image and adds it to canvas.
|
Modifier and Type | Class and Description |
---|---|
class |
WmfImageData
Image implementation for WMF, Windows Metafile.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
MetaDo.wrapBMP(ImageData image)
Wrap a BMP image in an WMF.
|
Constructor and Description |
---|
WmfImageHelper(ImageData wmf)
Creates a helper instance.
|
Constructor and Description |
---|
PdfImageXObject(ImageData image)
Creates Image XObject by image.
|
PdfImageXObject(ImageData image, PdfImageXObject imageMask)
Creates Image XObject by image.
|
Constructor and Description |
---|
Image(ImageData img)
Creates an Image from an image resource, read in from a file with the iText I/O module.
|
Image(ImageData img, float left, float bottom)
Creates an Image from an image resource, read in from a file with the iText I/O module, on a fixed position.
|
Image(ImageData img, float left, float bottom, float width)
Creates an Image from an image resource, read in from a file with the iText I/O module, with a custom width and on a fixed position.
|
Modifier and Type | Method and Description |
---|---|
ImageData |
PdfSignatureAppearance.getImage()
Gets the background image for the layer 2.
|
ImageData |
PdfSignatureAppearance.getSignatureGraphic()
Gets the Image object to render.
|
Modifier and Type | Method and Description |
---|---|
PdfSignatureAppearance |
PdfSignatureAppearance.setImage(ImageData image)
Sets the background image for the layer 2.
|
PdfSignatureAppearance |
PdfSignatureAppearance.setSignatureGraphic(ImageData signatureGraphic)
Sets the Image object to render when Render is set to RenderingMode.GRAPHIC or RenderingMode.GRAPHIC_AND_DESCRIPTION.
|
Copyright © 1998–2021 iText Group NV. All rights reserved.