canvasResize
canvasResize copied to clipboard
BlackBerry 10
Thanks for this excellent code!
It works great, but on BlackBerry 10 the tiling of the canvas seems to fail on both landscape and portrait mode. Tiling is probably not needed at all. I've added an option to disable it and draw the image immediately to the canvas and that works.
Maybe you could detect iOS and skip the tiling code otherwise.
On BlackBerry 10 it also detected a vertical squash on portrait images but drawing straight to canvas did not cause any visible errors.
Keep up the good work!