added a convert option

* rotate
Merge pull request #12 from ms76/convert-to-rotate

added a convert option