canvas image resize
Bug 856543 - scaling galery image in wallpaper app r=davidflanagan