www-frontend, obm conversion

Gert Doering (gert@greenie.muc.de)
Thu, 8 Apr 1999 16:28:13 +0200


Hi,

On Wed, Apr 07, 1999 at 10:28:00PM +0200, Marco Zietz wrote:
> I am trying to setup the www-frontend inlcuded in mgetty-1.1.20. I have
> some problems with the netpbm-tools (release 7, dec 1993) came with my
> suse5.3. Mgetty itself is working fine. But if I want to view a fax with
> scaling I only get an empty gif-file in the webtmp-dir. I found out,
> that the pnmscale (promoting PBM to PGM!!) outputfile is P5, but all
> other programs involved in this conversion need P2 files!

P5 should be fine (that's just "greyscale").

What happens if you run the commands specified in wwwgui.cf by hand, one
after each other, on the files (from the command line)?  That is:

$g3topbm <file.g3 >outfile1.pbm
$pnmscale -xscale 0.1 -yscale 0.1 <outfile1.pbm >outfile2.pgm
$ppmquant <outfile2.pgm >outfile3.pgm
$ppmtogif <outfile3.pgm >outfile4.gif

I assume that it's failing in the ppmquant step - which program did you
use for that?

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de