Class JPX


public class JPX extends Filter
JPX
  • Constructor Details

  • Method Details

    • decode

      public byte[] decode(byte[] data) throws Exception
      JPX decode - use a byte array stream to decompress data in memory
      Specified by:
      decode in class Filter
      Parameters:
      data - byte[] of the data to decompress
      Returns:
      byte[] of the decompressed data
      Throws:
      Exception
    • decode

      public void decode(BufferedInputStream bis, BufferedOutputStream streamCache, String cacheName, Map<String,String> cachedObjects) throws Exception
      JPX decode
      Specified by:
      decode in class Filter
      Parameters:
      bis - BufferedInputStream to decode
      streamCache - BufferedOutputStream of decoded data
      cacheName - Name of cache object
      cachedObjects - Map of cache objects
      Throws:
      Exception
    • encode

      public byte[] encode(byte[] data)
      JPX encoding is currently unsupported
      Specified by:
      encode in class Filter
    • encode

      public void encode(BufferedInputStream bis, BufferedOutputStream bos) throws Exception
      JPX encoding is currently unsupported
      Specified by:
      encode in class Filter
      Throws:
      Exception
    • getRawColorSpace

      public int getRawColorSpace()