Interface JPEGXRService

All Superinterfaces:
Service
All Known Implementing Classes:
JPEGXRServiceImpl

public interface JPEGXRService extends 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 loci.formats.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:
      loci.formats.FormatException - if an error occurs during decompression