resize function
change rich config interface
Merge pull request #160 from otiai10/feature/resize-capture

resize capture