Uses of Class
com.itextpdf.text.BadElementException
-
Packages that use BadElementException Package Description com.itextpdf.text com.itextpdf.text.pdf com.itextpdf.text.pdf.codec com.itextpdf.text.pdf.pdfcleanup -
-
Uses of BadElementException in com.itextpdf.text
Methods in com.itextpdf.text that throw BadElementException Modifier and Type Method Description 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, 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(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 Imagestatic 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.private void
ImgWMF. processParameters()
This method checks if the image is a valid WMF and processes some parameters.private void
Jpeg. processParameters()
This method checks if the image is a valid JPEG and processes some parameters.Constructors in com.itextpdf.text that throw BadElementException Constructor Description ImgCCITT(int width, int height, boolean reverseBits, int typeCCITT, int parameters, byte[] data)
Creates an Image with CCITT compression.ImgRaw(int width, int height, int components, int bpc, byte[] data)
Creates an Image in raw mode.ImgTemplate(PdfTemplate template)
Creates an Image from a PdfTemplate.ImgWMF(byte[] img)
Constructs anImgWMF
-object from memory.ImgWMF(java.lang.String filename)
Constructs anImgWMF
-object, using a filename.ImgWMF(java.net.URL url)
Constructs anImgWMF
-object, using an url.Jpeg(byte[] img)
Constructs aJpeg
-object from memory.Jpeg(byte[] img, float width, float height)
Constructs aJpeg
-object from memory.Jpeg(java.net.URL url)
Constructs aJpeg
-object, using an url.Jpeg2000(byte[] img)
Constructs aJpeg2000
-object from memory.Jpeg2000(byte[] img, float width, float height)
Constructs aJpeg2000
-object from memory.Jpeg2000(java.net.URL url)
Constructs aJpeg2000
-object, using an url. -
Uses of BadElementException in com.itextpdf.text.pdf
Methods in com.itextpdf.text.pdf that throw BadElementException Modifier and Type Method Description Image
BarcodeDatamatrix. createImage()
Gets anImage
with the barcode.Image
BarcodePDF417. getImage()
Gets anImage
with the barcode.Image
BarcodeQRCode. getImage()
Gets anImage
with the barcode. -
Uses of BadElementException in com.itextpdf.text.pdf.codec
Methods in com.itextpdf.text.pdf.codec that throw BadElementException Modifier and Type Method Description private Image
BmpImage. getImage()
private Image
BmpImage. indexedModel(byte[] bdata, int bpc, int paletteEntries)
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 BadElementException in com.itextpdf.text.pdf.pdfcleanup
Methods in com.itextpdf.text.pdf.pdfcleanup that throw BadElementException Modifier and Type Method Description private void
PdfCleanUpContentOperator. updateImageStream(PRStream imageStream, byte[] newData)
-