pete@octopus.UUCP (Pete Holzmann) (05/05/88)
In article <299@cullsj.UUCP> jeff@cullsj.UUCP (Jeffrey C. Fried) writes: > > I stand corrected. Since Lem-Ziv was DESIGNED for text compression, and >the authors do not mention its use for binaries, i never considered using it. >I tried it on an executable under UNIX and obtained a good reduction, for >reasons which are not apparent. I'm sure that there are cases where this does ^^^^^^^^ >not work (like graphics files), but it does appear to work , and in this case ^^^^^^^^^^^^^^^^^^^ >better than the current version of ARITH. Amaze your friends! Confound your enemies! Take a big TARGA graphics file [24 bit data] and compress it to 10% or less of its original size if it has much evenly-colored image area. Compress it by at least a *little* (e.g. 10+%) even if it is a very busy image. Works as well as other single-image compression techniques I've seen [assuming you want the compressed output in reasonable time]. All courtesy of the LZW algorithm! I wonder if L, Z and W are planning on suing everybody for infringing on their copyright :-). -- OOO __| ___ Peter Holzmann, Octopus Enterprises OOOOOOO___/ _______ USPS: 19611 La Mar Court, Cupertino, CA 95014 OOOOO \___/ UUCP: {hpda,pyramid}!octopus!pete ___| \_____ Phone: 408/996-7746