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