org.apache.sanselan.common
Class Compression
java.lang.Object
org.apache.sanselan.common.Compression
public class Compression
- extends java.lang.Object
Method Summary |
byte[] |
compressLZW(byte[] src,
int LZWMinimumCodeSize,
int byteOrder,
boolean earlyLimit)
|
byte[] |
decompressLZW(byte[] compressed,
int LZWMinimumCodeSize,
int expectedSize,
int byteOrder)
|
byte[] |
decompressPackBits(byte[] compressed,
int expectedSize,
int byteOrder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Compression
public Compression()
decompressLZW
public byte[] decompressLZW(byte[] compressed,
int LZWMinimumCodeSize,
int expectedSize,
int byteOrder)
throws java.io.IOException
- Throws:
java.io.IOException
decompressPackBits
public byte[] decompressPackBits(byte[] compressed,
int expectedSize,
int byteOrder)
throws ImageReadException,
java.io.IOException
- Throws:
ImageReadException
java.io.IOException
compressLZW
public byte[] compressLZW(byte[] src,
int LZWMinimumCodeSize,
int byteOrder,
boolean earlyLimit)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2007-2009. All Rights Reserved.