Return-Path: <tiff-bounces@remotesensing.org>
Received: from inav007.isp.belgacom.be (inav007.isp.belgacom.be [195.238.2.76])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id iAJGZpVB031963
        for <joris.at.lebbeke@skynet.be>; Fri, 19 Nov 2004 17:35:51 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inas009.isp.belgacom.be (localhost [127.0.0.1])
        by inav007.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id iAJGZm3M024111
        for <joris.at.lebbeke@skynet.be>; Fri, 19 Nov 2004 17:35:49 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from inmx011.isp.belgacom.be (inmx011.isp.belgacom.be [195.238.3.50])
        by inas009.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id iAJGZboJ003663
        for <joris.at.lebbeke@skynet.be>; Fri, 19 Nov 2004 17:35:43 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx011.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id iAJGZLcT010953
        for <joris.at.lebbeke@skynet.be>; Fri, 19 Nov 2004 17:35:22 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id 6EF6248C50D; Fri, 19 Nov 2004 11:35:09 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from gateway.local.net (gateway.set-software.de [193.218.212.121])
	by xserve.flids.com (Postfix) with ESMTP id 49C6D48C4EA
	for <tiff@remotesensing.org>; Fri, 19 Nov 2004 11:35:07 -0500 (EST)
Received: from dynamic-07.local.net ([192.168.100.107] helo=KNIGGE)
	by gateway.local.net with smtp (Exim 3.35 #1 (Debian))
	id 1CVBj0-0006I0-00
	for <tiff@remotesensing.org>; Fri, 19 Nov 2004 17:35:06 +0100
From: Michael Knigge <michael.knigge@set-software.de>
Date: Fri, 19 Nov 2004 16:35:05 GMT
Message-ID: <20041119.16350522@mis.configured.host>
To: tiff@remotesensing.org
X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.1; Win32)
X-Priority: 3 (Normal)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: [Tiff] G4 1D/2D Decompression - Can't understand the Code :-(
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 4ce69f6cb7c64f060d2ebfadb95ec596

All,

I was able to use the LibTIFF to decompress G3 and G4 data that I've=20=

read into memory.

Now I need to decode IBM MMR Data, that is similar to G3 2D=20
Compression. The Data is like:

1D-EOL | 1D Data | 2D-EOL | 2D Data | 2D Data ...


The first 9 bits are EOL(1D) followed by 1D Data. An EOL(2D) follows=20=

and then the following lines are encoded 2D without any EOL-Markers.=20=

At the end there may be 6x EOL 1D...

The source code is very complicated (with all the used Macros) and=20
hope that one of the developers could help me patching the source=20
code.=20

I've extracted my source code (hope it builds) out of my project and=20=

made a test-file available. Both is availabe at=20
http://www.textmode.de/need-help-please.zip


It would be very kind if someone could help me... I'm digging in the=20=

source since hours and it seems that I'm too silly to get it=20
working....


Thank you very much,
  Michael







_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
