I use make4ht and use SVG for images. This works well, and I can use
\includegraphics[width=\textwidth]{p1} or
\includegraphics[width=\paperwidth]{p1} or
\includegraphics[width=0.6\textwidth]{p1} etc... and it will adjust
image size correctly. I am using some magic configuration
code in my .cfg
Follow-up Comment #3, bug #271 (project tex4ht):
anthony thyssen has written much, much, information about the problem (as he
has about seemingly all aspects of imagemagick).
http://www.imagemagick.org/Usage/compare/
there are some scripts and recipes in there among all the explanations. once