I have a database that contains image data stored as a binary blob. The documentation says that the data is encoded using LZW. I thought that I could decode it using the Zip or GZip input streams found in the Java library, but this did not work - I have an exception which states that the data format is incorrect.
From what I read, the library uses DEFLATE, which is not LZW. In addition, I read about some licensing issues for using the LZW algorithm.
What can I use to decode data? Is there a library? Should I implement it myself? What about licensing issues?
java decoding lzw
Andrei Vajna II
source share