download image file from canvas