Return-Path: owner-tiff@olympiakos.com
Return-Path: <owner-tiff@olympiakos.com>
Received: from nataly.at1895.spb.edu (localhost [127.0.0.1])
	by at1895.spb.edu (8.12.4/8.12.4/Debian-4) with ESMTP id g6NNHKxd013267
	for <dron@at1895.spb.edu>; Wed, 24 Jul 2002 03:17:20 +0400
Received: from olympiakos.com (uucp@localhost)
	by nataly.at1895.spb.edu (8.12.4/8.12.4/Debian-4) with UUCP id g6NNHKbO013265
	for dron@at1895.spb.edu; Wed, 24 Jul 2002 03:17:20 +0400
Received: from knot.pu.ru (knot.pu.ru [193.124.85.214] (may be forged))
	by wg.pu.ru (8.9.1a/8.9.1) with ESMTP id XAA05463
	for <dron@at1895.spb.edu>; Tue, 23 Jul 2002 23:05:16 GMT
Received: from gate7.olympiakos.com (sdsl-64-32-199-150.dsl.iad.megapath.net [64.32.199.150])
	by knot.pu.ru (8.9.3/8.9.0) with ESMTP id DAA85693
	for <dron@at1895.spb.edu>; Wed, 24 Jul 2002 03:05:15 +0400 (MSD)
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id TAA31954;
	Tue, 23 Jul 2002 19:01:32 -0400
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Tue, 23 Jul 2002 18:50:36 -0400
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id SAA31893
	for tiff-outgoing; Tue, 23 Jul 2002 18:50:36 -0400
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from bilbo.x101.com (sttldslgw28poolE200.sttl.uswest.net [216.160.64.200])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id SAA31890
	for <tiff@olympiakos.com>; Tue, 23 Jul 2002 18:50:34 -0400
Received: from bilbo.x101.com (localhost.localdomain [127.0.0.1])
	by bilbo.x101.com (8.11.6/8.11.6) with ESMTP id g6NMoVY03111
	for <tiff@olympiakos.com>; Tue, 23 Jul 2002 15:50:32 -0700
Date: Tue, 23 Jul 2002 15:50:31 -0700
From: Lee Howard <faxguy@howardsilvan.com>
To: tiff@olympiakos.com
Subject: CCITT Group 4 assistence needed for HylaFAX
Message-ID: <20020723225031.GA3059@bilbo>
Reply-To: faxguy@howardsilvan.com
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Mailer: Balsa 1.3.6
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Content-Transfer-Encoding: 8bit
Status: RO
Content-Length: 2112
Lines: 39

Hello.  I know that this is perhaps off-topic, because it doesn't directly 
deal with libtiff, but it seems like the best place for me to find help on 
this...

I'm needing some help with getting HylaFAX to support MMR-encoded (Group 
4) faxes.  I've got a nearly complete patch for HylaFAX which does this, 
but I've run into a couple of snags which are rooted in code 
incompatibility with the differences between Group 3 and Group 4 TIFF 
image data.  As I'm not TIFF-savvy, I'm seeking for help on this.

In HylaFAX's faxd/CopyQuality.c++ there is a rather large function, 
FaxModem::recvPageDLEData(), which (among other things) determines the 
number of lines received in the received TIFF image data by counting 
EOLs.  This is obviously a flawed approach when dealing with MMR/Group 4 
TIFF image data.  Consequently HylaFAX ends up believing that it receives 
a zero-line TIFF image, and this is written into the TIFF tags.  This 
EOL-counting mechanism may appear elsewhere in the code, also.

In HylaFAX's faxd/TagLine.c++ there is yet another large function, 
FaxModem::imageTagLine(), which strips a few lines from the top of the 
image and replaces them with created lines which image the facsimile 
tagline information.  It does this in accordance with Group 3 protocol 
(i.e., with EOLs) rather than Group 4.

I'm wondering if there's anyone on this list who is familiar with CCITT 
Group 3 and Group 4 and would be willing to look at some HylaFAX code, 
correspond with me privately or with the hylafax-devel@hylafax.org list, 
and tolerate a fair amount of naievity on my part in order to get HylaFAX 
supporting MMR-encoded faxes.  If so, please let me know.

However, even if you don't have this kind of time, I wouldn't mind some 
general outlines on how these two procedures should be altered for Group 4 
faxes (i.e., how to count lines and how to image a tagline on top of an 
existing image).

Thanks.

Lee Howard
HylaFAX developer

To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe
or unsubscribe in the email body.  Libtiff home page: http://www.libtiff.org

