[comp.windows.x] Displaying FAX images

paul@dialogic.UUCP (The Imaginative Moron) (12/01/89)

Has anyone out there got a program that converts compressed fax images
(Modified Huffman coding defined in CCITT T.4) into a format suitable for
displaying under X (gif, I presume). 




-- 
Paul Bennett	      |  			| "I give in, to sin, because
Dialogic Corp.	      |   paul@dialogic.UUCP	|  You have to make this life
129 Littleton Road    | ..!uunet!dialogic!paul	|  livable"
Parsippany, NJ 07054  |	 			|  Martin Gore

defaria@hpcladb.HP.COM (Andy DeFaria) (12/02/89)

>Has anyone out there got a program that converts compressed fax images
>(Modified Huffman coding defined in CCITT T.4) into a format suitable for
>displaying under X (gif, I presume). 

While were at it we might as well ask for a program to FAX an X11 window? 

rlh2@ukc.ac.uk (R.L.Hesketh) (12/02/89)

In article <3930010@hpcladb.HP.COM> defaria@hpcladb.HP.COM (Andy DeFaria) writes:
[In reply to another article]
>>Has anyone out there got a program that converts compressed fax images
>>(Modified Huffman coding defined in CCITT T.4) into a format suitable for
>>displaying under X (gif, I presume). 

Try using the PBM+ converters ...

	g3topbm fax.file | pbmtoxwd | xwud

seems appropriate.  ("g3topbm" converts from the Group 3 FAX format which
is supposedly CCITT T.4)

>While were at it we might as well ask for a program to FAX an X11 window? 

okay .. how about

	xwd | xwdtopbm | pbmtog3 | your_fax_machine

Richard 8-}

randy@chinet.chi.il.us (Randy Suess) (12/03/89)

In article <3930010@hpcladb.HP.COM> defaria@hpcladb.HP.COM (Andy DeFaria) writes:
]Has anyone out there got a program that converts compressed fax images
](Modified Huffman coding defined in CCITT T.4) into a format suitable for
]displaying under X (gif, I presume). 
]
	The latest pbm routines have a g3topbm and pbmtog3 set
	of programs.  (g3 == Group III).  They seem to do the
	trick.

	Speaking of pbm, has anyone got the pcxtopbm program to
	work properly?  I have tried a number of different .pcx
	files produced by various PC paint programs, and they all
	produce garbage when displayed under X.  Them Mac routines
	work great.  (as do the g3 ones)

	-randy


-- 
Randy Suess
randy@chinet.chi.il.us