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 g9DCkpYR022814
	for <dron@at1895.spb.edu>; Sun, 13 Oct 2002 16:46:51 +0400
Received: from olympiakos.com (uucp@localhost)
	by nataly.at1895.spb.edu (8.12.4/8.12.4/Debian-4) with UUCP id g9DCkpXi022808
	for dron@at1895.spb.edu; Sun, 13 Oct 2002 16:46:51 +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 MAA27940
	for <dron@at1895.spb.edu>; Sun, 13 Oct 2002 12:42:13 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 QAA80747
	for <dron@at1895.spb.edu>; Sun, 13 Oct 2002 16:42:12 +0400 (MSD)
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id IAA31028;
	Sun, 13 Oct 2002 08:37:53 -0400
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Sun, 13 Oct 2002 08:31:43 -0400
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id IAA30930
	for tiff-outgoing; Sun, 13 Oct 2002 08:31:42 -0400
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from mail.pindar.com (mail.pindar.com [195.92.54.18])
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id IAA30925;
	Sun, 13 Oct 2002 08:31:41 -0400
Received: from mimesweeper.pindar.com by mail.pindar.com
          via smtpd (for sdsl-64-32-199-150.dsl.iad.megapath.net [64.32.199.150]) with SMTP; 13 Oct 2002 12:31:41 UT
Received: from firewall.pindar.com (unverified) by mimesweeper.pindar.com
 (Content Technologies SMTPRS 4.2.5) with SMTP id <T5dea59b0a8c35c361a103@mimesweeper.pindar.com>;
 Sun, 13 Oct 2002 13:28:25 +0100
Received: from mail-newlands.pindar.com by firewall.pindar.com
          via smtpd (for mimesweeper.pindar.com [195.92.54.26]) with SMTP; 13 Oct 2002 12:31:37 UT
Received: from KHAIREDDIN by [193.16.17.240]
     with SMTP (QuickMail Pro Server for Mac 2.0.1); 13-Oct-2002 13:31:26 +0100
Date: 13 Oct 2002 13:31:26 +0100
Message-ID: <3117360683r.daykin@pindar.com>
From: Rob Daykin <r.daykin@pindar.com>
Subject: Re: convert b/w tiff to jpeg
To: <tiff@olympiakos.com>, Frank Murche <frank.murche@bluewin.ch>,
   <owner-tiff@olympiakos.com>
X-Mailer: QuickMail Pro 2.1 (Windows32)
X-Priority: 3
MIME-Version: 1.0
Reply-To: Rob Daykin <r.daykin@pindar.com>
Content-Type: text/plain; charset="US-Ascii"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by gate7.olympiakos.com id IAA30927
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Content-Transfer-Encoding: 8bit
Status: RO
Content-Length: 1530
Lines: 37


ok, quick and dirty:
you'll need to convert to 8 bit.  So for each byte read in,
you'll need to bit shift it, and && it so that for each
bit, you write out 1 byte, either FF or 00  to a temporary
buffer.  Then use that buffer to write the jpeg.  But I would
quietly predict that they look awful.  I really can't see JPEG
not messing up on b&w images.

Rob Daykin
Software Developer
Pindar Technologies
rDOTdaykinATpindarDOTcom



**********************************************************************
This email and its attachments are intended for the above 
named only and may be confidential.  If they have come to 
you in error, you must take no action based on them, nor 
must you copy or show them to anyone; please reply to this 
email and highlight the error.
Security Warning: Please note that this email has been 
created in the knowledge that the internet email is not a 
100% secure communications medium.  We advise that you 
understand and observe this lack of security when emailing us.
Viruses:  Although we have taken steps to ensure that this 
email and attachments are free from any virus, we advise 
that in keeping with good computing practice the recipient 
should ensure they are actually virus free.
If you have received this email in error please notify:
postmaster@pindar.com
**********************************************************************


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

