Image of a curve on a surface