The GIF image files have high compression ratio, less disk space, fast transmission, etc., which are widely used in the Internet. However, some GIF images’ profile curves are not smooth, which will affect the integration with the background. So, it needs to be polished. In this paper, the major work is polishing the profile curve by using the finite element method. Firstly, it is to extract the profile curve of GIF image. Secondly, it is to establish the energy function of the profile curve and the corresponding minimum problem. Finally, it is to polish the profile curve by using the finite element method. The profile curve polishing algorithm in this paper do not required the curve expressed in explicit or implicit expression. It can make a good approximation of the original curve. Numerical experiments demonstrate that the algorithm is effective and efficient.