Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.graphics.xobject » [javadoc | source]
org.apache.pdfbox.pdmodel.graphics.xobject
public class: PDCcitt [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.graphics.xobject.PDXObject
      org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage
         org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt

All Implemented Interfaces:
    COSObjectable

An image class for CCITT Fax.
Fields inherited from org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage:
SUB_TYPE
Constructor:
 public PDCcitt(PDStream ccitt) 
    Standard constructor.
    Parameters:
    ccitt - The PDStream that already contains all ccitt information.
 public PDCcitt(PDDocument doc,
    RandomAccess raf) throws IOException 
    Construct from a tiff file.
    Parameters:
    doc - The document to create the image as part of.
    raf - The random access TIFF file which contains a suitable CCITT compressed image
    Throws:
    IOException - If there is an error reading the tiff data.
Method from org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt Summary:
getRGBImage,   write2OutputStream
Methods from org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage:
getBitsPerComponent,   getColorSpace,   getHeight,   getImageMask,   getRGBImage,   getSuffix,   getWidth,   setBitsPerComponent,   setColorSpace,   setGraphicsState,   setHeight,   setWidth,   write2OutputStream,   write2file,   write2file
Methods from org.apache.pdfbox.pdmodel.graphics.xobject.PDXObject:
createXObject,   getCOSObject,   getCOSStream,   getMetadata,   getPDStream,   setMetadata
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt Detail:
 public BufferedImage getRGBImage() throws IOException 
    Returns an image of the CCITT Fax, or null if TIFFs are not supported. (Requires additional JAI Image filters ) {@inheritDoc}
 public  void write2OutputStream(OutputStream out) throws IOException 
    This writes a tiff to out. {@inheritDoc}