Class TLcdEarthSeparateAlphaImageTileDataCodec

java.lang.Object
com.luciad.earth.repository.codec.TLcdEarthSeparateAlphaImageTileDataCodec
All Implemented Interfaces:
ILcdEarthTileDataCodec

public class TLcdEarthSeparateAlphaImageTileDataCodec extends Object implements ILcdEarthTileDataCodec
Tile data codec for BufferedImage objects. The images can be encoded to any format supported by the ImageIO package. This format will only be used to encode the opaque image data. The alpha channel is handled separately by this codec.

Typically the encoded format used with this codec either does not support an alpha channel or does not provide sufficient quality for an alpha channel (ex. jpeg).

Since:
9.1
  • Constructor Details

    • TLcdEarthSeparateAlphaImageTileDataCodec

      public TLcdEarthSeparateAlphaImageTileDataCodec()
      Constructs and TLcdEarthSeparateAlphaImageTileDataCodec using the default format for the opaque image data (jpeg) and the default compression quality (0.9).
    • TLcdEarthSeparateAlphaImageTileDataCodec

      public TLcdEarthSeparateAlphaImageTileDataCodec(String aFormat)
      Constructs and TLcdEarthSeparateAlphaImageTileDataCodec using the specified format for the opaque image data and the default compression quality.
      Parameters:
      aFormat - the format that will be used to encode/decode the opaque image data. This format must be supported by the ImageIO package.
      See Also:
    • TLcdEarthSeparateAlphaImageTileDataCodec

      public TLcdEarthSeparateAlphaImageTileDataCodec(String aFormat, float aQuality)
      Constructs a new TLcdEarthSeparateAlphaImageTileDataCodec using the specified format for the opaque image data and the specified compression quality.

      Note that some ImageIO readers or writers may or may not support explicit compression settings.
      Parameters:
      aFormat - a format name that is supported by the ImageIO package
      aQuality - a compression quality in [0,1]
      See Also:
  • Method Details