added an example of saving image from canvas