# [l2h] failing with large images

abcollier at phreaker.net abcollier at phreaker.net
Wed Jun 11 10:30:30 CEST 2003

hello,

perhaps this problem is already well known. however, it took me a while to figure out what was causing it...

trying to include a figure using:

\begin{figure}
\centering
%
\htmlimage{notransparent}
\includegraphics{c050_orbit_20020060000-20020100000.eps}
%
\caption{Orbit of Geotail}
\end{figure}

</u/colliera/proj/thesis/data/events/2002-008/c050_orbit_20020060000-20020100000.eps>]
Converting image #1
pstoimg.pl: Error: "/usr/local/bin/pnmcrop -verbose  < /tmp/l2h10317/p10337.pnm | /usr/local/bin/ppmquant -floyd 256 | /usr/local/bin/pnmtopng -interlace  > img7.png" failed: Illegal seek

Error while converting image: No such file or directory

i noted though latex showed that the image was too large for the page:

</u/colliera/proj/thesis/data/events/2002-008/2002-008-efield.eps>
Overfull \hbox (368.66624pt too wide) in paragraph at lines 135--137

so, tried to include the image but somewhat scaled down:

\begin{figure}
\centering
%
\htmlimage{notransparent}
\includegraphics[scale=0.6]{c050_orbit_20020060000-20020100000.eps}
%
\caption{Orbit of Geotail}
\end{figure}

now latex2html processed it without complaint. i took quite a while to figure out that this was the probem though and the error message from the netpbm codes was not at all helpful.

perhaps some less cryptic error messages would help here? many thanks!

best regards,
andrew collier.

--
Andrew B. Collier

Antarctic Research Fellow			tel: +27 31 2601157
Space Physics Research Institute		fax: +27 31 2616550
University of Natal, Durban, 4041, South Africa