add lossless-compression switch
svn rev 1133