Status: Read
Received: from [207.113.13.68] by phillip.cerious.com (NTMail 3.03.0017/7.aaxh) with ESMTP id pcrews for <pcrews@cerious.com>; Fri, 11 Jun 1999 19:58:40 -0400
Received: from localhost (bin@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) with SMTP id TAA31163;
	Fri, 11 Jun 1999 19:46:52 -0400
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Fri, 11 Jun 1999 19:41:13 -0400
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.8.7/8.8.7) id TAA31125
	for tiff-outgoing; Fri, 11 Jun 1999 19:41:12 -0400
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by gate7.olympiakos.com (8.8.7/8.8.7) with ESMTP id TAA31122
	for <tiff@olympiakos.com>; Fri, 11 Jun 1999 19:41:08 -0400
Received: from hercules.eros.no (hercules.eros.no [193.15.20.65]) 
	by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam:
       SGI does not authorize the use of its proprietary
       systems or networks for unsolicited or bulk email
       from the Internet.) 
	via ESMTP id QAA01715
	for <tiff@sgi.com>; Fri, 11 Jun 1999 16:41:05 -0700 (PDT)
	mail_from (marek@webdesign.no)
Received: from webdesign.no ([194.143.29.154])
	by hercules.eros.no (8.9.3/8.9.3/Debian/GNU) with ESMTP id BAA01901
	for <tiff@sgi.com>; Sat, 12 Jun 1999 01:53:40 GMT
Message-ID: <37619E14.BD5E8479@webdesign.no>
Date: Sat, 12 Jun 1999 01:39:00 +0200
From: Marek Rzewuski <marek@webdesign.no>
X-Mailer: Mozilla 4.51 [en] (Win98; I)
X-Accept-Language: en,no,da
MIME-Version: 1.0
To: tiff@sgi.com
Subject: Problems with converting a (corrupt?) TIFF file.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-tiff@olympiakos.com

I have a problem converting a file produced by Dialogic fax sollution. I
was almost sure that the file was corrupted until I found a viewer which
could display it (www.swiftview.com).

Sam Lefflers TIFF package produced this output:

/home/mr/elwin.tif:
  Magic: 0x4949 <little-endian> Version: 0x2a
  Directory 0: offset 8 (0x8) next 0 (0)
  SubFileType (254) LONG (4) 1<0>
  ImageWidth (256) LONG (4) 1<1728>
  ImageLength (257) LONG (4) 1<0>
  BitsPerSample (258) SHORT (3) 1<1>
  Compression (259) SHORT (3) 1<4>
  Photometric (262) SHORT (3) 1<0>
  FillOrder (266) SHORT (3) 1<2>
  ImageDescription (270) ASCII (2) 70<        818 379
8410                        Thu Apr 01 02:54:48 1999\n\000>
  StripOffsets (273) LONG (4) 1<340>
  SamplesPerPixel (277) SHORT (3) 1<1>
  RowsPerStrip (278) LONG (4) 1<0>
  StripByteCounts (279) LONG (4) 1<5935>
  XResolution (282) RATIONAL (5) 1<204>
  YResolution (283) RATIONAL (5) 1<98>
  Group3Options (292) LONG (4) 1<0>
  ResolutionUnit (296) SHORT (3) 1<2>
  PageNumber (297) SHORT (3) 2<0 1>
  BadFaxLines (326) LONG (4) 1<0>
  CleanFaxData (327) SHORT (3) 1<0>
  ConsecutiveBadFaxLines (328) LONG (4) 1<0>

The staff from SwiftView has this to say about this file:

"This is a common error, so common that we were forced to add a
workaround when the length is 0.  We read to the Group 3 End of block
markers or to the end of file, or untill the strip byte count runs out;
whichever comes first.  I noticed that rows per strip is also messed up,

this can also be a source of problems."

Does anyone know how I can convert this file some a TIFF format which is
not corrupted?
(Most of the programs I have tried report: Bad value for
"RowsPerStrip".)

The file can be found at http://www.webdesign.no/elwin.tif

Regards,
Marek Rzewuski

