[Tex/LaTex] Cannot determine size of graphic in * (no BoundingBox)

conversionepsgif

I use convert filename.gif filename.eps to produce EPS from images before include them into TeX document, and get error:

! LaTeX Error: Cannot determine size of graphic in filename.eps (no BoundingBox).

Environment: OpenSUSE 11.3 and oficial versions of texlive-latex and ImageMagick.

Best Answer

I use this little trick to solve this problem:

$> convert filename.gif filename.ps
$> ps2eps -f --fixps filename.ps