Convert canvas to png image