sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #54827
Re: Fax vis i Windows
On Sat, Sep 14, 2002 at 18:01:46 +0200, Anders Melchiorsen wrote:
> > Så en samlet løsning for "normal" 100x200dpi fax filer er:
> >
> > g32bpm -n fnd81d0adS0-4533115215.01 | convert pbm:- fx.png
>
> Det kan convert også klare alene,
og langsommere ?
> convert fax: fnd81d0adS0-4533115215.01 -geometry 100%x200% a.png
>
> (ikke afprøvet)
Og skaleringen er sikkert "tung" og kræver regnekraft
i forhold til g32pbm's specialløsning (dubleringer af linierne).
Måske hvis man specificerer passende filter til convert
kan det gå hurtigere.
(plus at filtreret ved skalering også kan gøre billedet mere
utydelig/grumset, dette afhænger dog af det anvendte filter)
Og fra manualen til g32pbm:
-s Double each horizontal row of the fax file in the
pbm file ("-stretch)". You can use this to adjust
the aspect ratio of a "normal resolution" fax file
to match that of a "fine resolution" fax file.
This might not seem like it belongs here, but it's
much faster than using pnmscale|pgmtopbm later.
--
mvh Frank Damgaard |
Follow ups
References