Implemented simple drawing function over canvas with image