[Freeswitch-users] Faxing Large Files

afshin afzali a.afzali2003 at gmail.com
Sun Aug 24 15:45:36 MSD 2014


Hi,
Thank you so much guys,
For your help & support!

Actually I'm using nodejs's gm module to adjust images for faxing. My fault
was that I didn't compress the result image. By adding compression (Fax by
ImageMagick / Group4 by GraphicsMagick) I could fix the error!

Appreciate
Afshin


On Sun, Aug 24, 2014 at 3:14 PM, Steve Underwood <steveu at coppice.org> wrote:

> Hi,
>
> As Dušan said, the configurations at
> http://soft-switch.org/spandsp_faq/ar01s14.html give reliable FAX
> images. The resolutions on that page are based on using imperial units,
> but specifying a resolution of 200x200 is also OK. You get a metric
> page. The *key* thing is to specify -dPDFFitPage. Without this,
> converting some things to TIFF works OK, while others result in strange
> image widths. With this parameter the output TIFF should always be
> adjusted to the specified number of pixels.
>
> Regards,
> Steve
>
> On 08/24/2014 05:41 PM, Dušan Dragić wrote:
> > Try to convert the PDF using ghostscript directly (i think imagemagick
> > uses gs for pdf/ps) with commands from Steve's spandsp FAQ
> > http://soft-switch.org/spandsp_faq/ar01s14.html (note the resolution).
> > If it works (it should) you'll have a know working TIFF file and can
> > change your ImageMagick settings to create something compatible.
> >
> > On 24 August 2014 09:14, afshin afzali <a.afzali2003 at gmail.com> wrote:
> >> Hi,
> >>
> >> OK, The TIFF file is created from a PDF
> >>   by ImageMagick library. I set it's resolution to 200*200 and it's
> width to
> >> 1728 pixel (I don't set it's height), and noProfile !
> >> Freeswitch gets the TIFF file by http_get API. I checked it. It is
> owned by
> >> freeswitch user and it's permission is 0600.
> >> Maybe there is something wrong in the conversion although I do it
> (exactly
> >> same) on TIFF files too and there is no problem.
> >>
> >>
> >> BEST,
> >> Afshin
> >>
> >>
> >> On Sun, Aug 24, 2014 at 5:01 AM, Steve Underwood <steveu at coppice.org>
> wrote:
> >>> The FAX software doesn't care about the size of the file. There is
> >>> another reason why it cannot be opened. File permissions are the usual
> >>> cause. The contents of the file not being a suitable TIFF type is
> another.
> >>>
> >>> Regards,
> >>> Steve
> >>>
> >>> On 08/23/2014 07:01 PM, afshin afzali wrote:
> >>>> Hi,
> >>>> I don't know if there is a limit on TIFF file size when being faxed!
> >>>> My file is about 16M in size. My error is "*41 TIFF/F file cannot be
> >>>> opened*". Also I checked the permission issue and think it is OK. I do
> >>>> not have any problem on small file size.
> >>>>
> >>>> BEST,
> >>>> Afshin
> >>>>
> >>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140824/f2da4e73/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list