APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.imageio.plugins.tiff

public Class TIFFLSBCompressor

extends TIFFCompressor
Class Inheritance
Imports
javax.imageio.plugins.tiff.BaselineTIFFTagSet, java.io.IOException

Uncompressed data with LSB-to-MSB fill order.

Field Summary

Inherited from com.sun.imageio.plugins.tiff.TIFFCompressor:
compressionTagValuecompressionTypeisCompressionLosslessmetadatastreamwriter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
encode(byte[] b, int off, int width, int height, int[] bitsPerSample, int scanlineStride)

Implements abstract com.sun.imageio.plugins.tiff.TIFFCompressor.encode.

Encodes the supplied image data, writing to the currently set ImageOutputStream.

Inherited from com.sun.imageio.plugins.tiff.TIFFCompressor:
getCompressionTagValuegetCompressionTypegetMetadatagetStreamgetWriterisCompressionLosslesssetMetadatasetStreamsetWriter

Constructor Detail

TIFFLSBCompressorback to summary
public TIFFLSBCompressor()

Method Detail

encodeback to summary
public int encode(byte[] b, int off, int width, int height, int[] bitsPerSample, int scanlineStride) throws IOException

Implements abstract com.sun.imageio.plugins.tiff.TIFFCompressor.encode.

Doc from com.sun.imageio.plugins.tiff.TIFFCompressor.encode.

Encodes the supplied image data, writing to the currently set ImageOutputStream.

Annotations
@Override
Exceptions
IOException:
if the supplied data cannot be encoded by this TIFFCompressor, or if any I/O error occurs during writing.