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 Deneen<[email protected]> > To: Asterisk Users Mailing List - Non-Commercial Discussion > <[email protected]> > Date: Friday, 19 November, 2010 17:19:48 > >> On Fri, Nov 19, 2010 at 9:42 AM, Michael<[email protected]> 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
