fop 0.94 | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.fop.render.pdf.FopPDFImage
Constructor Summary | |
|
Method Summary | |
int | |
PDFDeviceColorSpace | |
String | |
int | |
PDFICCStream | |
String |
|
String |
|
PDFFilter | |
String | |
PDFColor | |
int |
|
boolean | |
boolean |
|
boolean | |
void |
|
protected void |
|
void |
|
static PDFDeviceColorSpace |
|
public FopPDFImage(FopImage image, String key)
Creates a new PDFImage from a FopImage
- Parameters:
image
- Imagekey
- XObject key
public int getBitsPerPixel()
- Specified by:
- getBitsPerPixel in interface PDFImage
- See Also:
PDFImage.getBitsPerPixel()
public PDFDeviceColorSpace getColorSpace()
- Specified by:
- getColorSpace in interface PDFImage
- See Also:
PDFImage.getColorSpace()
public String getFilterHint()
- Specified by:
- getFilterHint in interface PDFImage
- See Also:
PDFImage.getFilterHint()
public PDFICCStream getICCStream()
- Specified by:
- getICCStream in interface PDFImage
- See Also:
PDFImage.getICCStream()
public PDFFilter getPDFFilter()
- Specified by:
- getPDFFilter in interface PDFImage
- See Also:
PDFImage.getPDFFilter()
public String getSoftMask()
- Specified by:
- getSoftMask in interface PDFImage
- See Also:
PDFImage.getSoftMask()
public PDFColor getTransparentColor()
- Specified by:
- getTransparentColor in interface PDFImage
- See Also:
PDFImage.getTransparentColor()
public boolean isInverted()
- Specified by:
- isInverted in interface PDFImage
- Returns:
- true for CMYK images generated by Adobe Photoshop
public boolean isTransparent()
- Specified by:
- isTransparent in interface PDFImage
- See Also:
PDFImage.isTransparent()
public void outputContents(OutputStream out) throws IOException
- Specified by:
- outputContents in interface PDFImage
protected void outputPostScriptContents(OutputStream out) throws IOException
Serializes an EPS image to an OutputStream.
- Parameters:
out
- OutputStream to write to
public static PDFDeviceColorSpace toPDFColorSpace(ColorSpace cs)
Converts a ColorSpace object to a PDFColorSpace object.
- Parameters:
cs
- ColorSpace instance
- Returns:
- PDFColorSpace new converted object
fop 0.94 |