Package ome.codecs

Class RPZACodec

  • All Implemented Interfaces:
    Codec

    public class RPZACodec
    extends BaseCodec
    Implements encoding and decoding methods for Apple RPZA. This code was adapted from the RPZA codec for ffmpeg - see http://ffmpeg.mplayerhq.hu
    • Constructor Detail

      • RPZACodec

        public RPZACodec()
    • Method Detail

      • compress

        public byte[] compress​(byte[] input,
                               CodecOptions options)
                        throws CodecException
        Description copied from interface: Codec
        Compresses a block of data.
        Parameters:
        input - The data to be compressed.
        options - Options to be used during compression, if appropriate.
        Returns:
        The compressed data.
        Throws:
        CodecException - If input is not a compressed data block of the appropriate type.