com.lowagie.text.pdf
public class PdfImage extends PdfStream
PdfImage
is a PdfStream
containing an image-Dictionary
and -stream.
Field Summary | |
---|---|
protected PdfName | name This is the PdfName of the image. |
static int | TRANSFERSIZE |
Constructor Summary | |
---|---|
PdfImage(Image image, String name, PdfIndirectReference maskRef)
Constructs a PdfImage -object.
|
Method Summary | |
---|---|
protected void | importAll(PdfImage dup) |
PdfName | name()
Returns the PdfName of the image.
|
static void | transferBytes(InputStream in, OutputStream out, int len) |
PdfName
of the image.PdfImage
-object.
Parameters: image the Image
-object name the PdfName
for this image
Throws: BadPdfFormatException on error
PdfName
of the image.
Returns: the name