Re: [asterisk-users] FFA (Fax For Asterisk) tif file (size) problem
Hi Michael, Hi Steve, Use spandsp. It is more relaxed about the file resolution, to avoid this exact issue. Files with a resolution within 5% of 204x196 are accepted. How do we install/use it? Is there an online guide for using it with Asterisk 1.6.2.x? However, if you have really made the image width 1680 pixels, that is wrong and I would be surprised if any FAX software accepts it. Standard sized FAX images are 1780 pixels wide. We removed that conversion, once we found that the only relevant field was the resolution. Now, A4 pages are automatically converted from 2339x1654 to 2292x1728, due to the resolution change. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] FFA (Fax For Asterisk) tif file (size) problem
Hi, We played around with the different parameters of the tif files and found that the issue was with the resolution. Most files generated on the PC have a 200x200 resolution, but it seems that FFA only accepts 204x196 resolution. Right now, we added a process to change the file resolution using ImageMagick, but it would make sense to allow also 200x200. Michael Original Message Subject: Re: [asterisk-users] FFA (Fax For Asterisk) tif file (size) problem From: Mark Deneen mden...@gmail.com To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Date: Friday, 19 November, 2010 17:19:48 On Fri, Nov 19, 2010 at 9:42 AM, Michaelvoip.quest...@gmail.com wrote: Hello, We succeed to send faxes using FFA, when the files are converted to tif from PDF using gs, but it doesn't work with tif files we copy/upload directly from our PCs. We saw in the manual that the size is important, since we got the error FAX handle 0: failed to queue document 'filename.tif', so we set it to 1680x2285, but it's still rejected. Is there a way to debug this further and fix it? We often have tif source files that we prefer to send, without converting to pdf and back to tif. Thank you in advance, Michael I don't know if this is the case or not, but check for differences between the two tiff files. I wonder if one is compressed and the other is not? -M -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] FFA (Fax For Asterisk) tif file (size) problem
Hi Michael, Use spandsp. It is more relaxed about the file resolution, to avoid this exact issue. Files with a resolution within 5% of 204x196 are accepted. However, if you have really made the image width 1680 pixels, that is wrong and I would be surprised if any FAX software accepts it. Standard sized FAX images are 1780 pixels wide. Steve On 11/20/2010 06:02 PM, Michael wrote: Hi, We played around with the different parameters of the tif files and found that the issue was with the resolution. Most files generated on the PC have a 200x200 resolution, but it seems that FFA only accepts 204x196 resolution. Right now, we added a process to change the file resolution using ImageMagick, but it would make sense to allow also 200x200. Michael Original Message Subject: Re: [asterisk-users] FFA (Fax For Asterisk) tif file (size) problem From: Mark Deneenmden...@gmail.com To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Date: Friday, 19 November, 2010 17:19:48 On Fri, Nov 19, 2010 at 9:42 AM, Michaelvoip.quest...@gmail.com wrote: Hello, We succeed to send faxes using FFA, when the files are converted to tif from PDF using gs, but it doesn't work with tif files we copy/upload directly from our PCs. We saw in the manual that the size is important, since we got the error FAX handle 0: failed to queue document 'filename.tif', so we set it to 1680x2285, but it's still rejected. Is there a way to debug this further and fix it? We often have tif source files that we prefer to send, without converting to pdf and back to tif. Thank you in advance, Michael I don't know if this is the case or not, but check for differences between the two tiff files. I wonder if one is compressed and the other is not? -M -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] FFA (Fax For Asterisk) tif file (size) problem
Why not just use tiff2pdf ? tiff2pdf input.tif -o output.pdf William Stillwell -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- boun...@lists.digium.com] On Behalf Of Michael Sent: Friday, November 19, 2010 9:43 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] FFA (Fax For Asterisk) tif file (size) problem Hello, We succeed to send faxes using FFA, when the files are converted to tif from PDF using gs, but it doesn't work with tif files we copy/upload directly from our PCs. We saw in the manual that the size is important, since we got the error FAX handle 0: failed to queue document 'filename.tif', so we set it to 1680x2285, but it's still rejected. Is there a way to debug this further and fix it? We often have tif source files that we prefer to send, without converting to pdf and back to tif. Thank you in advance, Michael -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] FFA (Fax For Asterisk) tif file (size) problem
So tiff2pdf and then gs back to tif? I was hoping for a cleaner method Original Message Why not just use tiff2pdf ? tiff2pdf input.tif -o output.pdf William Stillwell -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] FFA (Fax For Asterisk) tif file (size) problem
On Fri, Nov 19, 2010 at 9:42 AM, Michael voip.quest...@gmail.com wrote: Hello, We succeed to send faxes using FFA, when the files are converted to tif from PDF using gs, but it doesn't work with tif files we copy/upload directly from our PCs. We saw in the manual that the size is important, since we got the error FAX handle 0: failed to queue document 'filename.tif', so we set it to 1680x2285, but it's still rejected. Is there a way to debug this further and fix it? We often have tif source files that we prefer to send, without converting to pdf and back to tif. Thank you in advance, Michael I don't know if this is the case or not, but check for differences between the two tiff files. I wonder if one is compressed and the other is not? -M -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] FFA (Fax For Asterisk) tif file (size) problem
Hello, We succeed to send faxes using FFA, when the files are converted to tif from PDF using gs, but it doesn't work with tif files we copy/upload directly from our PCs. We saw in the manual that the size is important, since we got the error FAX handle 0: failed to queue document 'filename.tif', so we set it to 1680x2285, but it's still rejected. Is there a way to debug this further and fix it? We often have tif source files that we prefer to send, without converting to pdf and back to tif. Thank you in advance, Michael -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users