<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    <br>
    I use myxhtml.cfg as follows <br>
    <pre class="lang-tex prettyprint prettyprinted" style=""><code><span class="kwd">\Preamble</span><span class="pun">{</span><span class="pln">xhtml</span><span class="pun">}</span><span class="pln">
</span><span class="kwd">\makeatletter</span><span class="pln">
</span><span class="kwd">\Configure</span><span class="pun">{</span><span class="pln">graphics*</span><span class="pun">}</span><span class="pln">  
  </span><span class="pun">{</span><span class="pln">pdf</span><span class="pun">}</span><span class="pln">  
  </span><span class="pun">{</span><span class="pln">
    </span><span class="kwd">\Needs</span><span class="pun">{</span><span class="pln">"convert      </span><span class="kwd">\csname</span><span class="pln"> Gin@base</span><span class="kwd">\endcsname</span><span class="pln">.pdf  
                         </span><span class="kwd">\csname</span><span class="pln"> Gin@base</span><span class="kwd">\endcsname</span><span class="pln">.png"</span><span class="pun">}</span><span class="com">%  </span><span class="pln">
    </span><span class="kwd">\Picture</span><span class="pun">[</span><span class="pln">pict</span><span class="pun">]</span><span class="pln">      </span><span class="pun">{</span><span class="kwd">\csname</span><span class="pln"> Gin@base</span><span class="kwd">\endcsname</span><span class="pln">.png</span><span class="pun">}</span><span class="com">%  </span><span class="pln">
    </span><span class="kwd">\special</span><span class="pun">{</span><span class="pln">t4ht+@File: </span><span class="kwd">\csname</span><span class="pln"> Gin@base</span><span class="kwd">\endcsname</span><span class="pln">.png</span><span class="pun">}</span><span class="pln">
  </span><span class="pun">}</span><span class="pln">
</span><span class="kwd">\begin</span><span class="pun">{</span><span class="pln">document</span><span class="pun">}</span><span class="pln">
</span><span class="kwd">\EndPreamble</span></code></pre>
    <pre class="lang-tex prettyprint prettyprinted" style=""><code><span class="kwd">\documentclass</span><span class="pun">[</span><span class="lit">12pt</span><span class="pun">]{</span><span class="pln">article</span><span class="pun">}</span><span class="pln">
</span><span class="kwd">\usepackage</span><span class="pun">[</span><span class="pln">dvips</span><span class="pun">]{</span><span class="pln">xcolor</span><span class="pun">}</span><span class="pln">
</span><span class="kwd">\usepackage</span><span class="pun">[</span><span class="pln">dvips</span><span class="pun">]{</span><span class="pln">graphicx</span><span class="pun">}</span><span class="pln">
</span><span class="kwd">\usepackage</span><span class="pun">[</span><span class="pln">tex4ht</span><span class="pun">]{</span><span class="pln">hyperref</span><span class="pun">}</span><span class="pln">
</span><span class="kwd">\begin</span><span class="pun">{</span><span class="pln">document</span><span class="pun">}</span><span class="pln">
</span><span class="kwd">\begin</span><span class="pun">{</span><span class="pln">picture</span><span class="pun">}(</span><span class="pln">0,0</span><span class="pun">)</span><span class="com">% </span><span class="pln">
</span><span class="kwd">\includegraphics</span><span class="pun">{</span><span class="pln">1fig2dev.pdf</span><span class="pun">}</span><span class="com">% </span><span class="pln">
</span><span class="kwd">\end</span><span class="pun">{</span><span class="pln">picture</span><span class="pun">}</span><span class="com">% </span><span class="pln">
</span><span class="kwd">\end</span><span class="pun">{</span><span class="pln">document</span><span class="pun">}

</span></code>Now i type htlatex test.tex myxhtml but this does not work: 

<code><span class="pln">! LaTeX Error: Cannot determine size of graphic in 1fig2dev.pdf </span><span class="pun">(</span><span class="pln">no BoundingBox
</span><span class="pun">)</span><span class="pln">.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...                                              

l.7 </span><span class="kwd">\includegraphics</span><span class="pun">{</span><span class="pln">1fig2dev.pdf</span><span class="pun">}

</span></code></pre>
    <p>t seems as if the pdf is not replaced. I tried convert
      1fig2dev.pdf 1fig2dev.png manually and verified with gwenview
      1fig2dev.png... seems to be fine. </p>
    <p>What went wrong????</p>
    <p>ok, partial answer: The problem disappears if i remove the
      picture environment. Is this a bug in htlatex????</p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p>Greetings, <br>
    </p>
    <p><br>
    </p>
    <p>Ernst <br>
    </p>
    <pre class="lang-tex prettyprint prettyprinted" style="">
</pre>
    <br>
  </body>
</html>