Class TLcdPPMImageDecoder

java.lang.Object
com.luciad.format.raster.ALcdTileDecoder
com.luciad.format.raster.TLcdPPMImageDecoder
All Implemented Interfaces:
ILcdTileDecoder, ILcdInputStreamFactoryCapable

public class TLcdPPMImageDecoder extends ALcdTileDecoder implements ILcdTileDecoder
Deprecated.
This class is an ILcdTileDecoder for PPM images.

This class is thread-safe.

  • Constructor Details

    • TLcdPPMImageDecoder

      public TLcdPPMImageDecoder()
      Deprecated.
  • Method Details

    • readTileFromStream

      protected ILcdTileInfo readTileFromStream(InputStream aInputStream, int aImageIndex, int aSubTileWidth, int aSubTileHeight, int aRowIndex, int aColumnIndex, ILcdBuffer aBuffer) throws TLcdCodecException
      Deprecated.
      Description copied from class: ALcdTileDecoder
      Reads a sub-tile from an input stream.
      Specified by:
      readTileFromStream in class ALcdTileDecoder
      Parameters:
      aInputStream - the input stream from which the tile data can be read.
      aImageIndex - the index of the tile in the given input stream (if applicable).
      aSubTileWidth - the width of the sub-tiles, expressed in pixels.
      aSubTileHeight - the height of the sub-tiles, expressed in pixels.
      aRowIndex - the row number of the sub-tile to be decoded.
      aColumnIndex - the column number of the sub-tile to be decoded.
      aBuffer - the buffer in which the decoded bytes will be stored.
      Returns:
      ILcdTileInfo information about the decoded tile.
      Throws:
      TLcdCodecException - in case of decoding problems.