Improved error checking around image resizing
ADded new Public API functions
Ready for release v2.0.6
Merge branch 'release/2.0.6'