center and scale images
Merge pull request #21 from minrk/scale-images

center and scale images - 10,000 points for @MinRK!