Return-Path: owner-tiff@olympiakos.com
Return-Path: <owner-tiff@olympiakos.com>
Received: from localhost (localhost [127.0.0.1])
	by at1895.spb.edu (8.12.1/8.12.1/Debian -1) with ESMTP id fBDAwAwv000922
	for <dron@localhost>; Thu, 13 Dec 2001 14:03:30 +0300
Received: from eudoramail.com [209.185.123.45]
	by localhost with POP3 (fetchmail-5.9.0)
	for dron@localhost (single-drop); Thu, 13 Dec 2001 14:03:30 +0300 (MSK)
Received: from gate7.olympiakos.com ([207.176.88.85]) by shared1-mail.whowhere.com; Wed Dec 12 16:59:10 2001
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id TAA08535;
	Wed, 12 Dec 2001 19:48:30 -0500
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Wed, 12 Dec 2001 19:43:06 -0500
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id TAA08483
	for tiff-outgoing; Wed, 12 Dec 2001 19:43:05 -0500
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from mail5.uts.ohio-state.edu (mail5.uts.ohio-state.edu [128.146.214.34])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id TAA08480
	for <tiff@olympiakos.com>; Wed, 12 Dec 2001 19:43:02 -0500
Received: from PROZAC (prozac.med.ohio-state.edu [140.254.71.201])
	by mail5.uts.ohio-state.edu (8.9.3/8.9.3) with SMTP id PAA14170
	for <tiff@olympiakos.com>; Wed, 12 Dec 2001 15:16:38 -0500 (EST)
Message-ID: <04ac01c1834a$dbc98440$9865fea9@med.ohiostate.edu>
From: "Eric Hamrick" <hamrick.6@osu.edu>
To: <tiff@olympiakos.com>
Subject: jpeg in tiff problem
Date: Wed, 12 Dec 2001 15:23:27 -0500
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_04A9_01C18320.F2A58350"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Status: RO
Content-Length: 3210
Lines: 91

This is a multi-part message in MIME format.

------=_NextPart_000_04A9_01C18320.F2A58350
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

  I have an imagegear 8 compressed tif containing jpeg
data that I cannot read from with the current tiff library
compiled with jpeg support.  When I read it in, the=20
compression type is listed as 7. But when I call=20
TIFFReadEncodedStrip on the file I receive
an error from the JpegPreDecode function saying
there is an improper sampling factor. The tif loads
correctly in photoshop 6. And my own=20
libtiff created jpeg tifs do not give this error.=20
Does anyone have any ideas why I am getting
this error?

Here is the tiff:
http://doc.med.ohio-state.edu/eric/igjpeg.tif

Thanks!

Eric Hamrick


------=_NextPart_000_04A9_01C18320.F2A58350
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; I have an imagegear 8 compressed =
tif=20
containing jpeg</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>data that I cannot read from with the =
current tiff=20
library</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>compiled with jpeg support.&nbsp; When =
I read it=20
in, the </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>compression type is listed as 7. But =
when=20
I&nbsp;call </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>TIFFReadEncodedStrip on the file I=20
receive</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>an error from the JpegPreDecode =
function=20
saying</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>there is an improper sampling factor. =
The tif=20
loads</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>correctly in photoshop 6. And&nbsp;my =
own=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>libtiff created jpeg tifs do not give =
this=20
error.&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Does anyone </FONT><FONT face=3DArial =
size=3D2>have=20
</FONT><FONT face=3DArial size=3D2>any ideas why I am =
getting</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>this error?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Here is the tiff:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://doc.med.ohio-state.edu/eric/igjpeg.tif">http://doc.med.ohi=
o-state.edu/eric/igjpeg.tif</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Eric Hamrick</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_04A9_01C18320.F2A58350--


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

