# Package loci.formats.codec

- Interface Summary
  Interface | Description
  --- | ---
  Codec | This class is an interface for any kind of compression or decompression.

- Class Summary
  Class | Description
  --- | ---
  Base64Codec | Implements encoding (compress) and decoding (decompress) methods for Base64.
  BaseCodec | BaseCodec contains default implementation and testing for classes implementing the Codec interface, and acts as a base class for any of the compression classes.
  BitBuffer | Deprecated Use loci.common.RandomAccessInputStream instead
  BitWriter | Deprecated Use loci.common.RandomAccessOutputStream instead
  ByteVector | A growable array of bytes.
  CodecOptions | Options for compressing and decompressing data.
  HuffmanCodec | This class implements Huffman decoding.
  HuffmanCodecOptions | Options for compressing and decompressing Huffman data.
  JPEG2000Codec | This class implements JPEG 2000 compression and decompression.
  JPEG2000CodecOptions | Options for compressing and decompressing JPEG-2000 data.
  JPEGCodec | This class implements JPEG compression and decompression.
  JPEGTileDecoder |
  JPEGXRCodec |
  LosslessJPEGCodec | Decompresses lossless JPEG images.
  LZOCodec | This class implements LZO decompression.
  LZWCodec | This is an optimized LZW codec for use with TIFF files.
  MJPBCodec | Methods for compressing and decompressing QuickTime Motion JPEG-B data.
  MJPBCodecOptions | Options for compressing and decompressing MJPB data.
  MSRLECodec | Methods for compressing and decompressing data using Microsoft RLE.
  MSVideoCodec | Methods for compressing and decompressing data using Microsoft Video 1.
  NikonCodec | This class implements Nikon decompression.
  NikonCodecOptions | Options for compressing and decompressing Nikon NEF data.
  PackbitsCodec | This class implements packbits decompression.
  PassthroughCodec | A codec which just returns the exact data it was given, performing no compression or decompression.
  QTRLECodec | Methods for compressing and decompressing data using QuickTime RLE.
  RPZACodec | Implements encoding and decoding methods for Apple RPZA.
  TargaRLECodec | This class implements Targa RLE decompression.
  WrappedCodec | Generic wrapper for codecs from ome-codecs.
  ZlibCodec | This class implements ZLIB decompression.
  ZstdCodec |

- Enum Summary
  Enum | Description
  --- | ---
  CompressionType | An enumeration of compression types.
  JPEG2000BoxType | An enumeration of JPEG 2000 box types.
  JPEG2000SegmentMarker | An enumeration of JPEG 2000 segment markers.

Copyright © 2026 Open Microscopy Environment