[Tex/LaTex] eps format not showing in the TeXworks to pdf file

epstopdf

I posting this question but once I posted in this topic ''LaTeX – Image not showing up'' I have bben told that to create new question that everyone can see.
I have a problem with .eps format when I want to convert my text form TeXworks to pdf file. I always get the blank rectangle with name of the image! I removed draft, and I am using IEEEconfran template. Here is the results:enter image description here

Thanks a lot in advance!

Best Answer

Try adding something like this just after \documentclass. This of course assumes you have xetex installed.

\ifCLASSINFOpdf
    \usepackage[pdftex]{graphicx}
    \DeclareGraphicsExtensions{.pdf,.jpeg,.png}
\else
    \usepackage[dvips,xetex]{graphicx}
    \DeclareGraphicsExtensions{.eps}
\fi