Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas003.isp.belgacom.be (localhost [127.0.0.1])
        by inav022.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k2RFCasQ011432
        for <joris.at.lebbeke@skynet.be>; Mon, 27 Mar 2006 17:12:36 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx002.isp.belgacom.be (inmx002.isp.belgacom.be [195.238.5.7])
        by inas003.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k2RFCQCp009943
        for <joris.at.lebbeke@skynet.be>; Mon, 27 Mar 2006 17:12:26 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx002.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k2RFCFsb025390
        for <joris.at.lebbeke@skynet.be>; Mon, 27 Mar 2006 17:12:15 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k2REsvih030731;
	Mon, 27 Mar 2006 09:55:53 -0500
Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k2REst8i030728
	for <tiff@lists.maptools.org>; Mon, 27 Mar 2006 09:54:56 -0500
Received: by zproxy.gmail.com with SMTP id k1so1389532nzf
	for <tiff@lists.maptools.org>; Mon, 27 Mar 2006 06:54:54 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=Kiu4oN5+oNmpoCy712/gjezphtmxBbI7FPTNbDN8x6WsFYT405D2RUQxzA9YFbm4fjvR1OZpaeNTh3JNNw1/6iE6A4l3x5Wo9od9BIer/Zmzn1M+Yp/XAFB+M311HIWc/D3zKq8g/tPBtc1poLTAR3je2kdxjvQa//hmmX5lCjI=
Received: by 10.65.53.10 with SMTP id f10mr2454129qbk;
	Mon, 27 Mar 2006 06:54:53 -0800 (PST)
Received: by 10.65.240.20 with HTTP; Mon, 27 Mar 2006 06:54:53 -0800 (PST)
Message-ID: <5a28e8c20603270654u46db149i2e5bd796165e9499@mail.gmail.com>
Date: Mon, 27 Mar 2006 09:54:53 -0500
From: "Mikhail Kruk" <meshko@gmail.com>
To: "Grissom, Ed" <ed.grissom@intergraph.com>
Subject: Re: [Tiff] 3.8.1 and JPEG problem
In-Reply-To: <3206D8FDDF2F2541A7715A82522893771563E820@hq2.ingr-corp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <3206D8FDDF2F2541A7715A82522893771563E820@hq2.ingr-corp.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by duke.maptools.org id
	k2REst8i030728
Cc: tiff@lists.maptools.org
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.0000145f
X-MSP-STORE: Mon, 27 Mar 2006 17:12:44 +0200
Status:   

On 3/27/06, Grissom, Ed <ed.grissom@intergraph.com> wrote:
>
> If I am not mistaken, this bug
>
> http://www.asmail.be/msg0055508171.html
>
> has never been fixed, and therefore, tifcp is broken for subsampled
> colorspaces.

Right, this is what I'm seeing, and I was able to work around it by
adding a line of code to tiffcp.  So I'm not complaining about
decoding, only encoding.  Basically in your post you say:

> Fails in second tifcp:
> ======================
> tifcp [tile/strip options] -c jpeg  uncompRGB.tif YCbCrJPEG.tif
> tifcp [tile/strip & compression options] YCbCrJPEG.tif output.tif

so you are complaining about the second run of tiffcp and I'm
complaining about the first one.

> --
> ed grissom
> ed.grissom@intergraph.com
>
>
> > -----Original Message-----
> > From: tiff-bounces@lists.maptools.org
> > [mailto:tiff-bounces@lists.maptools.org] On Behalf Of Joris
> > Sent: Saturday, March 25, 2006 2:07 AM
> > To: Mikhail Kruk; tiff@lists.maptools.org
> > Subject: Re: [Tiff] 3.8.1 and JPEG problem
> >
> > Mikhail,
> >
> > Mikhail Kruk wrote:
> > > I built the CVS snapshot (again both Windows and Linux).  Still
> > > doesn't work. The error message is different (but familiar):
> > >
> > > JPEGLib: Warning, Application transferred too many scanlines.
> > > 29213.tif: Error, can't read strip 0.
> >
> > If you can conviniently setup a test that reads a
> > JPEG-compressed TIFF,
> > but doesn't write, then could you please test current CVS. The similar
> > bugs that were introduced in the writing part, I haven't
> > dealt with yet,
> > and I seek merely to find out if the fix of the reading part is OK.
> >
> > Joris Van Damme
> > info@awaresystems.be
> > http://www.awaresystems.be/
> > Download your free TIFF tag viewer for windows here:
> > http://www.awaresystems.be/imaging/tiff/astifftagviewer.html
> >
> > _______________________________________________
> > Tiff mailing list: Tiff@lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/tiff
> > http://www.remotesensing.org/libtiff/
> >
>

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
