org.pdfbox.pdmodel.graphics.xobject
Class PDCcitt
- COSObjectable
An image class for CCITT Fax.
BufferedImage | getRGBImage() - Returns an image of the CCITT Fax, or null if TIFFs are not supported.
|
void | write2OutputStream(OutputStream out) - This writes a tiff to out.
|
getBitsPerComponent , getColorSpace , getHeight , getRGBImage , getSuffix , getWidth , setBitsPerComponent , setColorSpace , setHeight , setWidth , write2OutputStream , write2file |
PDCcitt
public PDCcitt(PDDocument doc,
RandomAccess raf)
throws IOException
Construct from a tiff file.
doc
- The document to create the image as part of.raf
- The random access TIFF file which contains a suitable CCITT compressed image
PDCcitt
public PDCcitt(PDStream ccitt)
Standard constructor.
ccitt
- The PDStream that already contains all ccitt information.
getRGBImage
public BufferedImage getRGBImage()
throws IOException
Returns an image of the CCITT Fax, or null if TIFFs are not supported. (Requires additional JAI Image filters )
- getRGBImage in interface PDXObjectImage