Package com.lowagie.text.pdf
Class PdfImage
java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.PdfStream
com.lowagie.text.pdf.PdfImage
Deprecated.
PdfImage is a PdfStream containing an image-Dictionary and -stream.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PdfNameDeprecated.This is thePdfNameof the image.(package private) static final intDeprecated.Fields inherited from class com.lowagie.text.pdf.PdfStream
BEST_COMPRESSION, BEST_SPEED, compressed, compressionLevel, DEFAULT_COMPRESSION, ENDSTREAM, inputStream, inputStreamLength, NO_COMPRESSION, rawLength, ref, SIZESTREAM, STARTSTREAM, streamBytes, writer -
Constructor Summary
ConstructorsConstructorDescriptionPdfImage(Image image, String name, PdfIndirectReference maskRef) Deprecated.Constructs aPdfImage-object. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDeprecated.name()Deprecated.Returns thePdfNameof the image.(package private) static voidtransferBytes(InputStream in, OutputStream out, int len) Deprecated.Methods inherited from class com.lowagie.text.pdf.PdfStream
flateCompress, flateCompress, getRawLength, superToPdf, toPdf, toString, writeContent, writeLengthMethods inherited from class com.lowagie.text.pdf.PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, sizeMethods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Field Details
-
TRANSFERSIZE
static final int TRANSFERSIZEDeprecated.- See Also:
-
name
Deprecated.This is thePdfNameof the image.
-
-
Constructor Details
-
PdfImage
public PdfImage(Image image, String name, PdfIndirectReference maskRef) throws BadPdfFormatException Deprecated.Constructs aPdfImage-object.- Parameters:
image- theImage-objectname- thePdfNamefor this imagemaskRef- thePdfIndirectReference- Throws:
BadPdfFormatException- on error
-
-
Method Details
-
transferBytes
Deprecated.- Throws:
IOException
-
name
Deprecated.Returns thePdfNameof the image.- Returns:
- the name
-
importAll
Deprecated.
-