<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div align="justify">I had this problem with teTeX and tried
      switching to TexLive-2011 hoping, this is fixed... When the name
      of an image-file referenced from a document contains more than one
      dot, such as in "<tt>photo.<b>foo-1.jpg</b></tt>", the file is
      rejected:<br>
    </div>
    <blockquote><tt>! LaTeX Error: Unknown graphics extension: .<b>foo-1.jpg</b>.</tt><br>
    </blockquote>
    <div align="justify">Looking inside <tt>graphics.sty</tt> I see,
      that the parsing of the filename is done by the <tt>filename@parse</tt>
      macro. It would seem to me, that macro is simply buggy <span
        class="st">—</span> the last, rather than the first dot in the
      filename should be treated as the first character before
      extension. But teTeX had the same issue, so, perhaps, there are
      historical reasons for using the first dot...<br>
      <br>
      If so, then <tt>graphics.sty</tt> (or the <tt>grfext</tt>?)
      should not base its decision on the macro's result.<br>
      <br>
      Ideally, the image-file's type would be determined not from the
      file's name, but from its content (using either the file(1) or the
      magic(3) API, that file(1) itself is using). <br>
      <br>
      Whatever the underlying reason, the images named like in the above
      example should not rejected... Thanks! Yours,<br>
    </div>
    <blockquote>-mi<br>
    </blockquote>
  </body>
</html>