use shift helper methods to avoid errors when using dart2js
Merge branch 'master' of github.com:tomsonar/image