public class ImageRawCCITTFax extends ImageRawStream
ImageRawStream.ByteArrayStreamFactory, ImageRawStream.InputStreamFactory
Constructor and Description |
---|
ImageRawCCITTFax(ImageInfo info,
java.io.InputStream in,
int compression)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
java.awt.color.ColorSpace |
getColorSpace()
Returns the image's color space
|
int |
getCompression()
Returns the TIFF compression scheme.
|
createInputStream, getFlavor, getMimeType, isCacheable, setInputStreamFactory, writeTo, writeTo
getICCProfile, getInfo, getSize, toString
public ImageRawCCITTFax(ImageInfo info, java.io.InputStream in, int compression)
info
- the image info objectin
- the ImageInputStream with the raw contentcompression
- the integer value of the TIFF compression schemepublic java.awt.color.ColorSpace getColorSpace()
getColorSpace
in interface Image
getColorSpace
in class AbstractImage
public int getCompression()
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.