I am facing two problems with my code:
1) I am unable to add a Base64Encoded string image as a background in Canvas.
2) Anything I am drawing in my canvas using freehand, is not clipping at the bottom edge of the canvas
Would like to have some help in achieveing the bove two tasks please. I have attached my existing code as well.
============================================================= UPDATE: So, I finally manage to add the image on canvas, thanks for the help. The issue I have landed onto is to constraint the image inside the container, regardless of the image size. I have attached screenshots of two different image sizes to better illustrate my problem :