public class TIFFImage extends AbstractRed
限定符和类型 | 字段和说明 |
---|---|
static int |
COMP_DEFLATE |
static int |
COMP_FAX_G3_1D |
static int |
COMP_FAX_G3_2D |
static int |
COMP_FAX_G4_2D |
static int |
COMP_JPEG_OLD |
static int |
COMP_JPEG_TTN2 |
static int |
COMP_LZW |
static int |
COMP_NONE |
static int |
COMP_PACKBITS |
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
构造器和说明 |
---|
TIFFImage(SeekableStream stream,
TIFFDecodeParam param,
int directory)
Constructs a TIFFImage that acquires its data from a given
SeekableStream and reads from a particular IFD of the stream.
|
限定符和类型 | 方法和说明 |
---|---|
WritableRaster |
copyData(WritableRaster wr) |
TIFFDirectory |
getPrivateIFD(long offset)
Reads a private IFD from a given offset in the stream.
|
Raster |
getTile(int tileX,
int tileY)
Returns tile (tileX, tileY) as a Raster.
|
copyBand, copyToRaster, getBounds, getColorModel, getData, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfo
public static final int COMP_NONE
public static final int COMP_FAX_G3_1D
public static final int COMP_FAX_G3_2D
public static final int COMP_FAX_G4_2D
public static final int COMP_LZW
public static final int COMP_JPEG_OLD
public static final int COMP_JPEG_TTN2
public static final int COMP_PACKBITS
public static final int COMP_DEFLATE
public TIFFImage(SeekableStream stream, TIFFDecodeParam param, int directory) throws IOException
stream
- the SeekableStream to read from.param
- an instance of TIFFDecodeParam, or null.directory
- the index of the IFD to read from.IOException
public TIFFDirectory getPrivateIFD(long offset) throws IOException
IOException
public WritableRaster copyData(WritableRaster wr)
public Raster getTile(int tileX, int tileY)
getTile
在接口中 RenderedImage
getTile
在类中 AbstractRed
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.