<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019">
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=2>Ok Steve,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>strange since I use exactly </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>sudo /usr/bin/convert -page Letter -density 204x196 -resize
1728x1184 -units pixelsperinch -monochrome -compress Fax <pathToFile>
<pathToNewFile></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>but the spandsp log shows 881px as width :(</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>thanks</FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>----- Original Message ----- </FONT>
<DIV><FONT size=2>From: "Steve Underwood" <</FONT><A
href="mailto:steveu@coppice.org"><FONT size=2>steveu@coppice.org</FONT></A><FONT
size=2>></FONT></DIV>
<DIV><FONT size=2>To: "FreeSWITCH Users Help" <</FONT><A
href="mailto:freeswitch-users@lists.freeswitch.org"><FONT
size=2>freeswitch-users@lists.freeswitch.org</FONT></A><FONT
size=2>></FONT></DIV>
<DIV><FONT size=2>Sent: Thursday, April 14, 2011 11:59 AM</FONT></DIV>
<DIV><FONT size=2>Subject: Re: [Freeswitch-users] fax and jpg to
tiff</FONT></DIV></DIV>
<DIV><FONT size=2><BR></FONT></DIV><FONT size=2>> Hi Madovsky,<BR>>
<BR>> The standard width for a normal sized fax, whether it is standard, fine
<BR>> or super-fine resolution length-wise, is 1728 pixels. Wider faxes (e.g.
<BR>> A3) are possible, but it is rare to find a machine which supports
them.<BR>> <BR>> Steve<BR>> <BR>> <BR>> On 04/14/2011 11:20 PM,
Madovsky wrote:<BR>>> Hi Steve,<BR>>><BR>>> if you talk about
this line<BR>>>> Image width (200 pixels) not an acceptable FAX image
width<BR>>> I tried many different size but it says always the
same.<BR>>> what image width is acceptable usually
?<BR>>><BR>>> Thanks<BR>>><BR>>> ----- Original Message
-----<BR>>> From: "Steve Underwood"<</FONT><A
href="mailto:steveu@coppice.org"><FONT size=2>steveu@coppice.org</FONT></A><FONT
size=2>><BR>>> To: "FreeSWITCH Users Help"<</FONT><A
href="mailto:freeswitch-users@lists.freeswitch.org"><FONT
size=2>freeswitch-users@lists.freeswitch.org</FONT></A><FONT
size=2>><BR>>> Sent: Thursday, April 14, 2011 9:25 AM<BR>>>
Subject: Re: [Freeswitch-users] fax and jpg to
tiff<BR>>><BR>>><BR>>>> Hi
Madovsky,<BR>>>><BR>>>> Your log says very clearly what is
wrong with the file you are trying to<BR>>>> send. What further
information are you looking for?<BR>>>><BR>>>>
Steve<BR>>>><BR>>>><BR>>>> On 04/14/2011 12:05 PM,
Madovsky wrote:<BR>>>>> is there the spandsp log<BR>>>>>
2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296 FLOW
T.30<BR>>>>> .... ...0= Store and forward Internet fax (T.37): Not
set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> .... .0..= Real-time Internet fax (T.38): Not
set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> .... 0...= 3G mobile network: Not
set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> ..0. ....= V.8 capabilities: Not
set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> .0.. ....= Preferred octets: 256
octets<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .... ...0= Ready to transmit
a fax document (polling): Not set<BR>>>>> 2011-04-14 00:03:30.484254
[DEBUG] mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .... ..1.= Can
receive fax: Set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> ..10 11..= Supported data
signalling rates: V.27 ter, V.29, and V.17<BR>>>>> 2011-04-14
00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .1..
....= R8x7.7lines/mm and/or 200x200pels/25.4mm: Set<BR>>>>>
2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296 FLOW
T.30<BR>>>>> 1... ....= 2-D coding: Set<BR>>>>>
2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296 FLOW
T.30<BR>>>>> .... ..00= Recording width: 215mm +-
1%<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> .... 10..= Recording length:
Unlimited<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .111 ....= Receiver's
minimum scan line time: 0ms at 3.85 l/mm; T7.7 =<BR>>>>>
T3.85<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> 1... ....= Extension
indicator: Set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .... ..0.=
Compressed/uncompressed mode: Compressed<BR>>>>> 2011-04-14
00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> ....
.0..= Error correction mode (ECM): Non-ECM<BR>>>>> 2011-04-14
00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .0..
....= T.6 coding: Not set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> 1... ....= Extension
indicator: Set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .... ...0= "Field not valid"
supported: Not set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .... ..0.= Multiple
selective polling: Not set<BR>>>>> 2011-04-14 00:03:30.484254
[DEBUG] mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .... .0..= Polled
sub-address: Not set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .... 0...= T.43 coding: Not
set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> ...0 ....= Plane interleave: Not
set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> ..0. ....= Voice coding with 32kbit/s ADPCM (Rec.
G.726): Not set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .0.. ....= Reserved for the
use of extended voice coding set: Not set<BR>>>>> 2011-04-14
00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> 1...
....= Extension indicator: Set<BR>>>>> 2011-04-14 00:03:30.484254
[DEBUG] mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .... ...1=
R8x15.4lines/mm: Set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .... ..0.=
300x300pels/25.4mm: Not set<BR>>>>> 2011-04-14 00:03:30.484254
[DEBUG] mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .... .0..=
R16x15.4lines/mm and/or 400x400pels/25.4mm: Not set<BR>>>>>
2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296 FLOW
T.30<BR>>>>> .... 0...= Inch-based resolution preferred: Not
set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> ...1 ....= Metric-based resolution preferred:
Set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> ..0. ....= Minimum scan line time for higher
resolutions: T15.4 = T7.7<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .0.. ....= Selective
polling: Not set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> 1... ....= Extension
indicator: Set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> .... ...1= Sub-addressing:
Set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> .... ..0.= Password: Not set<BR>>>>>
2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296 FLOW
T.30<BR>>>>> .... .0..= Ready to transmit a data file (polling): Not
set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> ...0 ....= Binary file transfer (BFT): Not
set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> ..0. ....= Document transfer mode (DTM): Not
set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> .0.. ....= Electronic data interchange (EDI): Not
set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> 0... ....= Extension indicator: Not
set<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> Selected compression T.4 2-D
(2)<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> Trying to send file
'/1302753792.tiff'<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> Start sending
document<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> Minimum bits per row will be
0<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> Starting page 1 of transfer<BR>>>>>
2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296 FLOW
T.30<BR>>>>> Image width (200 pixels) not an acceptable FAX image
width<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30 The<BR>>>>> far end is
incompatible<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG]
mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> Changing from state 18 to
3<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> Tx: DCN with final frame
tag<BR>>>>> 2011-04-14 00:03:30.484254 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> Tx: ff 13 fb<BR>>>>> 2011-04-14
00:03:30.564178 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30<BR>>>>> HDLC
signal status is Carrier down (-1) in state 3<BR>>>>> 2011-04-14
00:03:30.564178 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30<BR>>>>>
Changing from phase T30_PHASE_B_RX to T30_PHASE_D_TX<BR>>>>>
2011-04-14 00:03:30.564178 [DEBUG] mod_spandsp_fax.c:296 FLOW FAX
Set<BR>>>>> rx type 0<BR>>>>> 2011-04-14 00:03:30.564178
[DEBUG] mod_spandsp_fax.c:296 FLOW FAX Set<BR>>>>> tx type
4<BR>>>>> 2011-04-14 00:03:31.624981 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> Send complete in phase T30_PHASE_D_TX, state
3<BR>>>>> 2011-04-14 00:03:31.705007 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> Send complete in phase T30_PHASE_D_TX, state
3<BR>>>>> 2011-04-14 00:03:31.705007 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> Disconnecting<BR>>>>> 2011-04-14
00:03:31.705007 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30<BR>>>>>
Changing from phase T30_PHASE_D_TX to T30_PHASE_E<BR>>>>> 2011-04-14
00:03:31.705007 [DEBUG] mod_spandsp_fax.c:296 FLOW FAX Set<BR>>>>>
rx type 0<BR>>>>> 2011-04-14 00:03:31.705007 [DEBUG]
mod_spandsp_fax.c:296 FLOW FAX Set<BR>>>>> tx type
1<BR>>>>> 2011-04-14 00:03:31.705007 [DEBUG] mod_spandsp_fax.c:296
FLOW T.30<BR>>>>> Changing from state 3 to 2<BR>>>>>
2011-04-14 00:03:32.704744 [DEBUG] mod_spandsp_fax.c:296 FLOW
T.30<BR>>>>> Send complete in phase T30_PHASE_E, state
2<BR>>>>><BR>>>>> -----
Original Message -----<BR>>>>> *From:*
Madovsky<</FONT><A href="mailto:infos@madovsky.org"><FONT
size=2>mailto:infos@madovsky.org</FONT></A><FONT
size=2>><BR>>>>> *To:* </FONT><A
href="mailto:freeswitch-users@lists.freeswitch.org"><FONT
size=2>freeswitch-users@lists.freeswitch.org</FONT></A><BR><FONT
size=2>>>>> <</FONT><A
href="mailto:freeswitch-users@lists.freeswitch.org"><FONT
size=2>mailto:freeswitch-users@lists.freeswitch.org</FONT></A><FONT
size=2>><BR>>>>> *Sent:* Wednesday,
April 13, 2011 11:33 PM<BR>>>>>
*Subject:* fax and jpg to
tiff<BR>>>>><BR>>>>> sorry
I don't have the personal email
of<BR>>>>> Steve Underwood (I saw a
thread of him related of this
subject),<BR>>>>> it's about a
problem<BR>>>>> of spandsp txfax and
jpeg files.<BR>>>>> I didn't succeed
to find the right conversion to make the far
end<BR>>>>> accept the
fax.<BR>>>>> I get always "far end
cannot receive at the size of the
image".<BR>>>>> this problems occurs
only from jpeg to tiff
conversion.<BR>>>>> I use imagemagick
for that :<BR>>>>> sudo
/usr/bin/convert -page Letter -density 204x196
-resize<BR>>>>> 1728x1184 -units
pixelsperinch -monochrome -compress
Fax<BR>>>>>
<fileToConvert>
<fileToSave><BR>>>>> I tried
numrous options but no luck.<BR>>>>>
Thanks<BR>>>>><BR>>>>><BR>>>><BR>>>>
_______________________________________________<BR>>>> FreeSWITCH-users
mailing list<BR>>>> </FONT><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org"><FONT
size=2>FreeSWITCH-users@lists.freeswitch.org</FONT></A><BR><FONT
size=2>>>> </FONT><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"><FONT
size=2>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</FONT></A><BR><FONT
size=2>>>>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>>>>
</FONT><A href="http://www.freeswitch.org"><FONT
size=2>http://www.freeswitch.org</FONT></A><BR><FONT size=2>>>
_______________________________________________<BR>>> FreeSWITCH-users
mailing list<BR>>> </FONT><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org"><FONT
size=2>FreeSWITCH-users@lists.freeswitch.org</FONT></A><BR><FONT size=2>>>
</FONT><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"><FONT
size=2>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</FONT></A><BR><FONT
size=2>>>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>>>
</FONT><A href="http://www.freeswitch.org"><FONT
size=2>http://www.freeswitch.org</FONT></A><BR><FONT size=2>>><BR>>
<BR>> <BR>> _______________________________________________<BR>>
FreeSWITCH-users mailing list<BR>> </FONT><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org"><FONT
size=2>FreeSWITCH-users@lists.freeswitch.org</FONT></A><BR><FONT size=2>>
</FONT><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"><FONT
size=2>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</FONT></A><BR><FONT
size=2>>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>>
</FONT><A href="http://www.freeswitch.org"><FONT
size=2>http://www.freeswitch.org</FONT></A></BODY></HTML>