|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PDFImage
Interface for a PDF image. This is used for inserting an image into PDF.
Method Summary | |
---|---|
int |
getBitsPerPixel()
Get the bits per pixel for this image. |
PDFDeviceColorSpace |
getColorSpace()
Get the color space for this image. |
java.lang.String |
getFilterHint()
Returns a hint in form of a String (Possible values from PDFFilterList) indicating which filter setup should be used to encode the object. |
int |
getHeight()
Get the image height in pixels. |
PDFICCStream |
getICCStream()
Get the ICC stream for this image. |
java.lang.String |
getKey()
Key to look up XObject. |
java.lang.String |
getMask()
Get the PDF reference for a bitmap mask. |
PDFFilter |
getPDFFilter()
Get the PDF Filter to be applied to the image. |
java.lang.String |
getSoftMask()
Get the PDF reference for a soft mask. |
PDFColor |
getTransparentColor()
Get the transparent color. |
int |
getWidth()
Get the image width in pixels. |
boolean |
isInverted()
|
boolean |
isPS()
Check if this image is a PostScript image. |
boolean |
isTransparent()
Check if this image has a transparent color transparency. |
void |
outputContents(java.io.OutputStream out)
Writes the raw, unencoded contents of the image to a given output stream. |
void |
setup(PDFDocument doc)
Setup the PDF image for the current document. |
Method Detail |
---|
java.lang.String getKey()
void setup(PDFDocument doc)
doc
- the PDF parent document
(todo) Remove this and delegate to the XObjectint getWidth()
int getHeight()
PDFDeviceColorSpace getColorSpace()
int getBitsPerPixel()
boolean isPS()
boolean isTransparent()
PDFColor getTransparentColor()
java.lang.String getMask()
java.lang.String getSoftMask()
boolean isInverted()
PDFFilter getPDFFilter()
void outputContents(java.io.OutputStream out) throws java.io.IOException
out
- OutputStream to write to
java.io.IOException
- if there creating streamPDFICCStream getICCStream()
java.lang.String getFilterHint()
|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |