I'm using LyX as a TeX editor and I'm using Metapost to draw images for my documents. Metaposts supports embedding TeX inside the graphic, and after generation I get an EPS file. In order for these images to be displayed correctly in LyX, I need a converter that can correctly convert these EPS files to PNG. I think this task is trivial when the EPS files does not contain TeX, but otherwise all the converters I try spews errors. Can anyone tell me of a command line util that will do so?