| An interface describing objects that transform a Raster
into an OutputStream .
If the TileCodecDescriptor for this format returns true from
its includesSampleModelInfo() and
includesLocationInfo() methods, then the encoder must encode
this information in the encoded tiles. If these methods return false, then
this information (needed to create a Raster on decoding) must
be provided to the TileDecoder by setting the
SampleModel on the TileCodecParameterList supplied
to the TileDecoder and supplying the tile upper left corner
location to the TileDecoder via the TileDecoder 's
decode(Point location) method. The SampleModel
value set on the TileCodecParameterList for the
TileDecoder should be the same as that of the
Raster to be encoded, in order to get a Raster
on decoding that is equivalent to the one being encoded.
See Also: TileCodecDescriptor See Also: TileDecoder since: JAI 1.1 |