Re: Question about HylaFAX - pdf to fax conversion
Ido Diamant <[email protected]>
| Newsgroups | gmane.comp.telephony.fax.hylafax.user |
|---|---|
| Message-ID | <CAJ=dzYWMRcChaz-TLKqzFg2OvgW3SMm5SQ2KiAUfDMzCyjN8jQ@mail.gmail.com> |
Hi, I think I am using HylaFAX, and not the + version (it's part of the Elastix solution). I tried placing the DITHERING in the FaxModify, but no change in the output fax. Any other suggestion? Do you know what's the parameter for ghostscript to use the stochastic mode instead of regular? (I can edit the pdf2fax file and change its parameters to make it better, if I know the right parameters). thanks, Ido On Thu, Dec 31, 2015 at 7:33 PM, Lee Howard <[email protected]> wrote: > Many people do not appreciate the default dithering that Ghostscript does > on color images when producing faxable TIFF images. > > If you're using HylaFAX+ then you can put: > > DITHERING=libtiff-fs > > ... or... > > DITHERING=gs-stocht > > into /var/spool/hylafax/etc/FaxModify, and you'll get a prettier result. > > Thanks, > > Lee. > > > > On 12/31/2015 05:49 AM, Ido Diamant wrote: > >> Hi, >> >> I am having a problem with HylaFax through Elastix. >> >> Faxes are being received correctly, and sent fine. I have a problem with >> the quality of the fax sent from PDF. >> e.g. if I send a PDF through the sendfax commandline, or through the >> Elastix UI, the PDF is being converted to a TIFF for the fax sending using >> this command: >> >> /usr/bin/gs -q -sDEVICE=tiffg4 -dNOPAUSE -dSAFER=true -sPAPERSIZE=a4 >> -dFIXEDMEDIA -dMaxStripSize=0 -dBATCH -r209.10x196 >> -sOutputFile=docq/doc604.pdf;c1 docq/doc604.pdf.604 >> >> (this is the command that is being ran by the pdf2fax script). >> >> the output file's quality is very poor, what causes the fax sent to be in >> poor quality, and sometimes not readable. >> >> I tried playing with the conversion, and noticed that when using >> -sDEVICE=tiffgray the file is better, but not able to send it through the >> sendfax, because its not compressed with Group 3 or Group 4 compression. >> >> What's the best method to convert pdf2fax so it'll make it black/white >> but in good quality and sharp, and not bad quality? >> >> Thanks, >> Ido >> > >