java.io.Serializablepublic class PdfImage extends PdfStream
PdfImage is a PdfStream containing an image-Dictionary and -stream.| Modifier and Type | Field | Description |
|---|---|---|
protected Image |
image |
|
protected PdfName |
name |
This is the
PdfName of the image. |
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGESARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, typeBEST_COMPRESSION, BEST_SPEED, compressed, compressionLevel, DEFAULT_COMPRESSION, inputStream, inputStreamLength, NO_COMPRESSION, rawLength, ref, streamBytes, writer| Constructor | Description |
|---|---|
PdfImage(Image image,
java.lang.String name,
PdfIndirectReference maskRef) |
Constructs a
PdfImage-object. |
| Modifier and Type | Method | Description |
|---|---|---|
Image |
getImage() |
|
protected void |
importAll(PdfImage dup) |
|
PdfName |
name() |
Returns the
PdfName of the image. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckType, clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, sizecanBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, typeflateCompress, flateCompress, getRawLength, superToPdf, toPdf, toString, writeContent, writeLengthprotected PdfName name
PdfName of the image.protected Image image
public PdfImage(Image image, java.lang.String name, PdfIndirectReference maskRef) throws BadPdfFormatException
PdfImage-object.image - the Image-objectname - the PdfName for this imageBadPdfFormatException - on errorCopyright © 1998–2018. All rights reserved.