|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.render.pdf.AbstractImageAdapter
org.apache.fop.render.pdf.ImageRawCCITTFaxAdapter
public class ImageRawCCITTFaxAdapter
PDFImage implementation for the PDF renderer which handles raw CCITT fax images.
| Field Summary |
|---|
| Fields inherited from class org.apache.fop.render.pdf.AbstractImageAdapter |
|---|
image |
| Constructor Summary | |
|---|---|
ImageRawCCITTFaxAdapter(org.apache.xmlgraphics.image.loader.impl.ImageRawCCITTFax image,
java.lang.String key)
Creates a new PDFImage from an Image instance. |
|
| Method Summary | |
|---|---|
int |
getBitsPerComponent()
Get the bits per color component 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. |
org.apache.xmlgraphics.image.loader.impl.ImageRawCCITTFax |
getImage()
Returns the ImageRawCCITTFax instance for this adapter. |
PDFFilter |
getPDFFilter()
Get the PDF Filter to be applied to the image. |
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. |
| Methods inherited from class org.apache.fop.render.pdf.AbstractImageAdapter |
|---|
disallowMultipleFilters, getEffectiveICCProfile, getHeight, getICCStream, getImageColorSpace, getKey, getMask, getSoftMask, getSoftMaskReference, getTransparentColor, getWidth, isInverted, isPS, isTransparent, multipleFiltersAllowed, populateXObjectDictionary, populateXObjectDictionaryForIndexColorModel, toPDFColorSpace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageRawCCITTFaxAdapter(org.apache.xmlgraphics.image.loader.impl.ImageRawCCITTFax image,
java.lang.String key)
image - the CCITT encoded imagekey - XObject key| Method Detail |
|---|
public org.apache.xmlgraphics.image.loader.impl.ImageRawCCITTFax getImage()
ImageRawCCITTFax instance for this adapter.
public void setup(PDFDocument doc)
setup in interface PDFImagesetup in class AbstractImageAdapterdoc - the PDF parent document
(todo) Remove this and delegate to the XObjectpublic PDFDeviceColorSpace getColorSpace()
public int getBitsPerComponent()
public PDFFilter getPDFFilter()
public void outputContents(java.io.OutputStream out)
throws java.io.IOException
out - OutputStream to write to
java.io.IOException - if there creating streampublic java.lang.String getFilterHint()
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||