Uses of Class
com.itextpdf.text.Image
-
Packages that use Image 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 certainElements.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 -
-
Uses of Image in com.itextpdf.text
Subclasses of Image in com.itextpdf.text Modifier and Type Class Description classImgCCITTCCITT Image data that has to be inserted into the documentclassImgJBIG2Support for JBIG2 images.classImgRawRaw Image data that has to be inserted into the documentclassImgTemplatePdfTemplate that has to be inserted into the documentclassImgWMFAnImgWMFis the representation of a windows metafile that has to be inserted into the documentclassJpegAnJpegis the representation of a graphic element (JPEG) that has to be inserted into the documentclassJpeg2000AnJpeg2000is the representation of a graphic element (JPEG) that has to be inserted into the documentFields in com.itextpdf.text declared as Image Modifier and Type Field Description protected ImageImage. imageMaskThe image that serves as a mask for this image.Methods in com.itextpdf.text that return Image Modifier and Type Method Description ImageChunk. getImage()Returns the image.ImageImage. getImageMask()Gets the explicit masking.static ImageImage. getInstance(byte[] imgb)static ImageImage. getInstance(byte[] imgb, boolean recoverFromImageError)gets an instance of an Imagestatic ImageImage. getInstance(int width, int height, boolean reverseBits, int typeCCITT, int parameters, byte[] data)Creates an Image with CCITT G3 or G4 compression.static ImageImage. 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 ImageImage. getInstance(int width, int height, byte[] data, byte[] globals)Creates a JBIG2 Image.static ImageImage. getInstance(int width, int height, int components, int bpc, byte[] data)Gets an instance of an Image in raw mode.static ImageImage. getInstance(int width, int height, int components, int bpc, byte[] data, int[] transparency)Gets an instance of an Image in raw mode.static ImageImage. getInstance(Image image)gets an instance of an Imagestatic ImageImage. getInstance(PdfContentByte cb, java.awt.Image awtImage, float quality)Gets an instance of a Image from a java.awt.Image.static ImageImage. getInstance(PdfTemplate template)gets an instance of an Imagestatic ImageImage. getInstance(PdfWriter writer, java.awt.Image awtImage, float quality)Gets an instance of a Image from a java.awt.Image.static ImageImage. getInstance(PRIndirectReference ref)Reuses an existing image.static ImageImage. getInstance(java.awt.Image image, java.awt.Color color)Gets an instance of an Image from a java.awt.Image.static ImageImage. getInstance(java.awt.Image image, java.awt.Color color, boolean forceBW)Gets an instance of an Image from a java.awt.Image.static ImageImage. getInstance(java.lang.String filename)Gets an instance of an Image.static ImageImage. getInstance(java.lang.String filename, boolean recoverFromImageError)static ImageImage. getInstance(java.net.URL url)static ImageImage. getInstance(java.net.URL url, boolean recoverFromImageError)Gets an instance of an Image.Methods in com.itextpdf.text with parameters of type Image Modifier and Type Method Description static ImageImage. getInstance(Image image)gets an instance of an ImagevoidImage. setImageMask(Image mask)Sets the explicit masking.Constructors in com.itextpdf.text with parameters of type Image Constructor Description Chunk(Image image, float offsetX, float offsetY)Constructs a chunk containing anImage.Chunk(Image image, float offsetX, float offsetY, boolean changeLeading)Constructs a chunk containing anImage.Image(Image image)Constructs anImage-object, using an url .ImgCCITT(Image image)ImgJBIG2(Image image)Copy contstructor.ImgRaw(Image image)ImgTemplate(Image image)ImgWMF(Image image)Jpeg(Image image)Jpeg2000(Image image) -
Uses of Image in com.itextpdf.text.html.simpleparser
Methods in com.itextpdf.text.html.simpleparser that return Image Modifier and Type Method Description ImageElementFactory. 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.ImageHTMLWorker. createImage(java.util.Map<java.lang.String,java.lang.String> attrs)Deprecated.Creates an Image object.ImageImageProvider. getImage(java.lang.String src, java.util.Map<java.lang.String,java.lang.String> attrs, ChainedProperties chain, DocListener doc)Deprecated.Methods in com.itextpdf.text.html.simpleparser with parameters of type Image Modifier and Type Method Description booleanImageProcessor. 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.voidHTMLWorker. processImage(Image img, java.util.Map<java.lang.String,java.lang.String> attrs)Deprecated.Processes an Image.Method parameters in com.itextpdf.text.html.simpleparser with type arguments of type Image Modifier and Type Method Description ImageElementFactory. 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. -
Uses of Image in com.itextpdf.text.pdf
Fields in com.itextpdf.text.pdf declared as Image Modifier and Type Field Description private ImagePdfDiv. backgroundImageprotected ImagePdfChunk. imageThe image in thisPdfChunk, if it has oneprotected ImagePdfImage. imageprivate ImagePdfPCell. imageHolds value of property image.private ImagePdfSignatureAppearance. imageA background image for the text in layer 2.private ImagePushbuttonField. imageHolds value of property image.protected ImagePdfDocument. imageWaitThis is the image that could not be shown on a previous page.private ImagePdfSignatureAppearance. signatureGraphicThe image that needs to be used for a visible signatureMethods in com.itextpdf.text.pdf that return Image Modifier and Type Method Description ImageBarcodeDatamatrix. createImage()Gets anImagewith the barcode.ImageBarcode. createImageWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Creates anImagewith the barcode.ImageBarcodePDF417. getImage()Gets anImagewith the barcode.ImageBarcodeQRCode. getImage()Gets anImagewith the barcode.(package private) ImagePdfChunk. getImage()Gets the image in thePdfChunk.ImagePdfImage. getImage()ImagePdfPCell. getImage()Getter for property image.ImagePdfSignatureAppearance. getImage()Gets the background image for the layer 2.ImagePushbuttonField. getImage()Getter for property image.ImagePdfSignatureAppearance. getSignatureGraphic()Gets the Image object to render.Methods in com.itextpdf.text.pdf with parameters of type Image Modifier and Type Method Description protected voidPdfDocument. add(Image image)Adds an image to the document.voidPdfPTable. addCell(Image image)Adds an Image as Cell.PdfNamePdfWriter. addDirectImageSimple(Image image)Use this method to adds an image to the document but not to the page resources.PdfNamePdfWriter. addDirectImageSimple(Image image, PdfIndirectReference fixedRef)Adds an image to the document but not to the page resources.voidPdfContentByte. addImage(Image image)Adds anImageto the page.voidPdfContentByte. addImage(Image image, boolean inlineImage)Adds anImageto the page.voidPdfContentByte. addImage(Image image, double a, double b, double c, double d, double e, double f)Adds anImageto the page.voidPdfContentByte. addImage(Image image, double a, double b, double c, double d, double e, double f, boolean inlineImage)Adds anImageto the page.protected voidPdfContentByte. addImage(Image image, double a, double b, double c, double d, double e, double f, boolean inlineImage, boolean isMCBlockOpened)Adds anImageto the page.voidPdfContentByte. addImage(Image image, float a, float b, float c, float d, float e, float f)Adds anImageto the page.voidPdfContentByte. addImage(Image image, float a, float b, float c, float d, float e, float f, boolean inlineImage)Adds anImageto the page.voidPdfContentByte. addImage(Image image, AffineTransform transform)adds an image with the given matrix.voidPdfContentByte. addImage(Image image, java.awt.geom.AffineTransform transform)Deprecated.use com.itextpdf.text.geom.AffineTransform as parametervoidPdfImportedPage. addImage(Image image, float a, float b, float c, float d, float e, float f)Always throws an error.voidPdfPatternPainter. addImage(Image image, float a, float b, float c, float d, float e, float f)voidType3Glyph. addImage(Image image, float a, float b, float c, float d, float e, float f, boolean inlineImage)private voidPdfImage. generateImgResName(Image img)Called when no resource name is provided in our constructor.voidPdfDiv. setBackgroundImage(Image image)Image will be scaled to fit in the div occupied area.voidPdfDiv. setBackgroundImage(Image image, float width, float height)Image will be scaled to fit in the div occupied area.booleanFdfWriter. setFieldAsImage(java.lang.String field, Image image)voidPdfPCell. setImage(Image image)Setter for property image.voidPdfSignatureAppearance. setImage(Image image)Sets the background image for the layer 2.voidPushbuttonField. setImage(Image image)Sets the icon as an image.voidPdfSignatureAppearance. setSignatureGraphic(Image signatureGraphic)Sets the Image object to render when Render is set toRenderingMode.GRAPHICorRenderingMode.GRAPHIC_AND_DESCRIPTION.(package private) voidPdfDocument. setThumbnail(Image image)voidPdfStamper. setThumbnail(Image image, int page)Sets the thumbnail image for a page.voidPdfStamperImp. setThumbnail(Image image)(package private) voidPdfStamperImp. setThumbnail(Image image, int page)voidPdfWriter. setThumbnail(Image image)Use this method to set the thumbnail image for the current page.private voidPdfStructureElement. writeAttributes(Image image)Constructors in com.itextpdf.text.pdf with parameters of type Image Constructor Description PdfImage(Image image, java.lang.String name, PdfIndirectReference maskRef)Constructs aPdfImage-object.PdfPCell(Image image)Constructs aPdfPCellwith anImage.PdfPCell(Image image, boolean fit)Constructs aPdfPCellwith anImage. -
Uses of Image in com.itextpdf.text.pdf.codec
Fields in com.itextpdf.text.pdf.codec declared as Image Modifier and Type Field Description (package private) ImageGifImage.GifFrame. imageMethods in com.itextpdf.text.pdf.codec that return Image Modifier and Type Method Description private ImageBmpImage. getImage()static ImageBmpImage. getImage(byte[] data)Reads a BMP from a byte array.static ImageBmpImage. getImage(java.io.InputStream is)Reads a BMP from a stream.static ImageBmpImage. getImage(java.io.InputStream is, boolean noHeader, int size)Reads a BMP from a stream.static ImageBmpImage. getImage(java.lang.String file)Reads a BMP from a file.static ImageBmpImage. getImage(java.net.URL url)Reads a BMP from an url.ImageGifImage. getImage(int frame)Gets the image from a frame.(package private) ImagePngImage. getImage()static ImagePngImage. getImage(byte[] data)Reads a PNG from a byte array.static ImagePngImage. getImage(java.io.InputStream is)Reads a PNG from a stream.static ImagePngImage. getImage(java.lang.String file)Reads a PNG from a file.static ImagePngImage. getImage(java.net.URL url)Reads a PNG from an url.static ImageJBIG2Image. getJbig2Image(RandomAccessFileOrArray ra, int page)returns an Image representing the given page.static ImageTiffImage. getTiffImage(RandomAccessFileOrArray s, boolean recoverFromImageError, int page)static ImageTiffImage. getTiffImage(RandomAccessFileOrArray s, boolean recoverFromImageError, int page, boolean direct)static ImageTiffImage. getTiffImage(RandomAccessFileOrArray s, int page)Reads a page from a TIFF image.static ImageTiffImage. getTiffImage(RandomAccessFileOrArray s, int page, boolean direct)Reads a page from a TIFF image.protected static ImageTiffImage. getTiffImageColor(TIFFDirectory dir, RandomAccessFileOrArray s)private ImageBmpImage. indexedModel(byte[] bdata, int bpc, int paletteEntries)(package private) static ImageTiffImage. ProcessExtraSamples(java.util.zip.DeflaterOutputStream zip, java.util.zip.DeflaterOutputStream mzip, byte[] outBuf, int samplePerPixel, int bitsPerSample, int width, int height)private ImageBmpImage. read1632Bit(boolean is32)private ImageBmpImage. read1Bit(int paletteEntries)private ImageBmpImage. read4Bit(int paletteEntries)private ImageBmpImage. read8Bit(int paletteEntries)private ImageBmpImage. readRLE4()private ImageBmpImage. readRLE8() -
Uses of Image in com.itextpdf.text.pdf.codec.wmf
Methods in com.itextpdf.text.pdf.codec.wmf with parameters of type Image Modifier and Type Method Description static byte[]MetaDo. wrapBMP(Image image) -
Uses of Image in com.itextpdf.tool.xml.css.apply
Methods in com.itextpdf.tool.xml.css.apply that return Image Modifier and Type Method Description ImageImageCssApplier. apply(Image img, Tag tag)Applies CSS to an Image.ImageImageCssApplier. apply(Image img, Tag tag, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx)Methods in com.itextpdf.tool.xml.css.apply with parameters of type Image Modifier and Type Method Description ImageImageCssApplier. apply(Image img, Tag tag)Applies CSS to an Image.ImageImageCssApplier. 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 Image Modifier and Type Method Description ImageImageRetrieve. retrieveImage(java.lang.String src)private ImageImageRetrieve. tryRetrieveImageWithImageProvider(java.lang.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 Image Modifier and Type Field Description private java.util.Map<java.lang.String,Image>AbstractImageProvider. mapMethods in com.itextpdf.tool.xml.pipeline.html that return Image Modifier and Type Method Description ImageAbstractImageProvider. retrieve(java.lang.String src)ImageImageProvider. retrieve(java.lang.String src)Retrieve and image from the store.Methods in com.itextpdf.tool.xml.pipeline.html with parameters of type Image Modifier and Type Method Description voidAbstractImageProvider. store(java.lang.String src, Image img)voidImageProvider. store(java.lang.String src, Image img)Store allows ImageProvider users to cache the found images.
-