G3 conversion
Luigi Rizzo (luigi@labinfo.iet.unipi.it)
Sun, 6 Dec 1998 11:27:02 +0100
> > So I also search for another Prg to convert g3 to <any_standart_format>.
> > Any hints ?
>
> pbmtools. They are slow, but are the most flexible tools available. Get
> more RAM, and the speed improves :)
on my web page http://www.iet.unipi.it/~luigi/software.html you should
find a small utility called "g3.c" which converts from g3 to gif
(scaled with antialiasing), postscript and perhaps even HP LJ4.
It is fast because it works on 1/2 lines at a time.
The biggest problem with pbmtools is that they want the whole image in
memory before doing anything on it, even though the transformation they
do uses a few lines (or even pixels) at a time.
And about the ppm format, i find it annoying that i cannot specify a "0"
height meaning that the actual height of the image will be known when
you reach the EOF.
cheers
luigi
-----------------------------+--------------------------------------
Luigi Rizzo | Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it | Universita' di Pisa
tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/
_____________________________|______________________________________