title: How to determine compression method of a ZIP/RAR file
body: <p>I have a few zip and rar files that I'm working with, and I'm trying to analyze the properties of how each file was compressed (compression level, compression algorithm (e.g. deflate, LZMA, BZip2), dictionary size, word size, etc.), and I haven't figured out a way to do this yet.</p>
  
  <p>Is there any way to analyze the files to determine these properties, with software or otherwise?</p>
  
  <p>Cheers and thanks!</p>