Image
public class ImageRawCCITTFax extends ImageRawStream
ImageRawStream.ByteArrayStreamFactory, ImageRawStream.InputStreamFactory
Constructor | Description |
---|---|
ImageRawCCITTFax(ImageInfo info,
InputStream in,
int compression) |
Main constructor.
|
Modifier and Type | Method | Description |
---|---|---|
ColorSpace |
getColorSpace() |
Returns the image's color space
|
int |
getCompression() |
Returns the TIFF compression scheme.
|
getICCProfile, getInfo, getSize, toString
createInputStream, getFlavor, getMimeType, isCacheable, setInputStreamFactory, writeTo
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.