Christian said that simple entropy meter don't helped him to properly detect MM data and grzip's MM detection algorithm, as i found, is also more or less broken

so i developed MM type detector which compares entropy (measured by results of order-0 arithmetic encoding) of various encodings. in my tests it properly found data type of all the greyscale, rgb, wave mono and stereo files i've tried. moreover, it even properly detects 16/32-bit tables what don't need substracting

http://www.haskell.org/bz/mmdet.rar

it's great companion for http://www.haskell.org/bz/tta.rar