public class CompressDecompressTest extends Object
Nikon
PackBits
LuraWave| Constructor and Description |
|---|
CompressDecompressTest() |
| Modifier and Type | Method and Description |
|---|---|
private void |
assertCompression(TiffCompression compression,
boolean lossy)
Tests the writing of the tiles.
|
void |
testCompressDecompressedDeflate()
Tests the compression and decompression using
Deflate. |
void |
testCompressDecompressedJ2KLossless()
Tests the compression and decompression using
JPEG2000. |
void |
testCompressDecompressedJ2KLossy()
Tests the compression and decompression using
JPEG2000-lossy. |
void |
testCompressDecompressedJPEG()
Tests the compression and decompression using
JPEG. |
void |
testCompressDecompressedUncompressed()
Tests the compression and decompression using
Uncompressed. |
private void assertCompression(TiffCompression compression, boolean lossy) throws Exception
compression - The compression to use.lossy - whether or not this is a lossy compression typeExceptionpublic void testCompressDecompressedJ2KLossless()
throws Exception
JPEG2000.Exception - Throw if an error occurred while writing.public void testCompressDecompressedJ2KLossy()
throws Exception
JPEG2000-lossy.Exception - Throw if an error occurred while writing.public void testCompressDecompressedJPEG()
throws Exception
JPEG.Exception - Throw if an error occurred while writing.public void testCompressDecompressedDeflate()
throws Exception
Deflate.Exception - Throw if an error occurred while writing.Copyright © 2016 Open Microscopy Environment