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
- class PdfImage
- extends PdfStream
PdfImage
is a PdfStream
containing an image-Dictionary
and -stream.
Fields inherited from class com.lowagie.text.pdf.PdfObject |
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Methods inherited from class com.lowagie.text.pdf.PdfDictionary |
contains, get, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size |
Methods inherited from class com.lowagie.text.pdf.PdfObject |
getBytes, isArray, isBoolean, isDictionary, isName, isNull, isNumber, isStream, isString, length, setContent, toString, type |
TRANSFERSIZE
static final int TRANSFERSIZE
- See Also:
- Constant Field Values
name
protected PdfName name
- This is the
PdfName
of the image.
PdfImage
public PdfImage(Image image,
String name,
PdfIndirectReference maskRef)
throws BadPdfFormatException
- Constructs a
PdfImage
-object.
- Parameters:
image
- the Image
-objectname
- the PdfName
for this image
- Throws:
BadPdfFormatException
- on error
name
public PdfName name()
- Returns the
PdfName
of the image.
- Returns:
- the name
transferBytes
static void transferBytes(InputStream in,
OutputStream out,
int len)
throws IOException
IOException
importAll
protected void importAll(PdfImage dup)