public class ImageRawCCITTFax extends ImageRawStream
ImageRawStream.ByteArrayStreamFactory, ImageRawStream.InputStreamFactory
构造器和说明 |
---|
ImageRawCCITTFax(ImageInfo info,
InputStream in,
int compression)
Main constructor.
|
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 Image
getColorSpace
在类中 AbstractImage
public int getCompression()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.