Interface JPEGXRService

All Superinterfaces:
loci.common.services.Service
All Known Implementing Classes:
JPEGXRServiceImpl

public interface JPEGXRService extends loci.common.services.Service
Interface defining methods for working with JPEG-XR data
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    decompress(byte[] compressed)
    Decompress the given JPEG-XR compressed byte array and return as a byte array.
  • Method Details

    • decompress

      byte[] decompress(byte[] compressed) throws FormatException
      Decompress the given JPEG-XR compressed byte array and return as a byte array. Opening and closing of decoders and streams is handled internally.
      Parameters:
      compressed - the complete JPEG-XR compressed data
      Returns:
      raw decompressed bytes
      Throws:
      FormatException - if an error occurs during decompression