support compress options
Merge pull request #2 from FlorianLudwig/master

support compress options