I have gotten a program on file compression using LZW. The program works fine for some images but majority of these images, the compressed files are larger than the uncompressed.
I have decide to attached the program hence it is free and you can modify it to work for the test images i have included in the zip file.
Please let me know if you can handle it. You can also read more about the project on github [login to view URL]