Package loci.formats.services
Class JPEGXRServiceImpl
java.lang.Object
loci.common.services.AbstractService
loci.formats.services.JPEGXRServiceImpl
- All Implemented Interfaces:
Service,JPEGXRService
Interface defining methods for working with JPEG-XR data
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]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
-
Constructor Details
-
JPEGXRServiceImpl
public JPEGXRServiceImpl()
-
-
Method Details
-
decompress
Description copied from interface:JPEGXRServiceDecompress 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:
decompressin interfaceJPEGXRService- Parameters:
compressed- the complete JPEG-XR compressed data- Returns:
- raw decompressed bytes
- Throws:
loci.formats.FormatException- if an error occurs during decompression- See Also:
-