Added imageToCanvas

Started making Demo
added cropping to nearest pixel when height not a multiple of pixel length

fixed up the test to show the original again

worked on demo
divifiyImage now accepts a styles parameter
demo nearly finished