Class JPEGXRServiceImpl

java.lang.Object
loci.common.services.AbstractService
loci.formats.services.JPEGXRServiceImpl
All Implemented Interfaces:
loci.common.services.Service, JPEGXRService

public class JPEGXRServiceImpl extends loci.common.services.AbstractService implements JPEGXRService
Interface defining methods for working with JPEG-XR data
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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.

    Methods inherited from class loci.common.services.AbstractService

    checkClassDependency

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JPEGXRServiceImpl

      public JPEGXRServiceImpl()
  • Method Details

    • decompress

      public byte[] decompress(byte[] compressed) throws loci.formats.FormatException
      Description copied from interface: JPEGXRService
      Decompress the given JPEG-XR compressed byte array and return as a byte array. Opening and closing of decoders and streams is handled internally.
      Specified by:
      decompress in interface JPEGXRService
      Parameters:
      compressed - the complete JPEG-XR compressed data
      Returns:
      raw decompressed bytes
      Throws:
      loci.formats.FormatException - if an error occurs during decompression
      See Also: