Added perPixel tinting for canvas

useful for older browsers and ie using canvas