[ISSUE-25] - Colorfast resizing of non-linear RGB images.
- Fix some issues that showed up in the demo program during testing.
Merge pull request #36 from sptramer/issue-25

[ISSUE-25] - Colorfast resizing of non-linear RGB images.