Merge pull request #20 from atgheb/master

Added original size parameter for resize
Implement color tolerance for trim
Fixed autocorrect snafu and added null check.
Merge pull request #21 from atgheb/trim

Implement color tolerance for trim