Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx016.isp.belgacom.be (inmx016.isp.belgacom.be [195.238.2.219])
        by mailst034.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i8RIs8YU005433
        for <joris.at.lebbeke@skynet.be>; Mon, 27 Sep 2004 20:54:13 +0200
        (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 inmx016.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id i8RIrsRg001597
        for <joris.at.lebbeke@skynet.be>; Mon, 27 Sep 2004 20:53:57 +0200
        (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 366FD32DF96; Mon, 27 Sep 2004 14:53:39 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from ahk.pu.ru (ahk.pu.ru [193.124.85.198])
	by xserve.flids.com (Postfix) with ESMTP
	id 3060532DF67; Mon, 27 Sep 2004 14:53:37 -0400 (EDT)
Received: from wg.pu.ru (wg.pu.ru [193.124.85.219])
	by ahk.pu.ru (8.12.11/8.12.9) with ESMTP id i8RIrU08094598;
	Mon, 27 Sep 2004 22:53:30 +0400 (MSD)
	(envelope-from dron@ak4719.spb.edu)
Received: (from uucp@localhost)
	by wg.pu.ru (8.9.1a/8.9.1) with UUCP id SAA06372;
	Mon, 27 Sep 2004 18:53:30 GMT
Received: from ak4719.spb.edu (localhost [127.0.0.1])
	by ak4719.spb.edu (8.12.11/8.12.11/Debian-5) with ESMTP id
	i8RIPq3E015706; Mon, 27 Sep 2004 22:25:52 +0400
Received: (from dron@localhost)
	by ak4719.spb.edu (8.12.11/8.12.11/Debian-5) id i8RIPqRq015703;
	Mon, 27 Sep 2004 22:25:52 +0400
From: Andrey Kiselev <dron@ak4719.spb.edu>
Date: Mon, 27 Sep 2004 22:25:52 +0400
To: gdal-dev@xserve.flids.com, tiff@remotesensing.org
Message-ID: <20040927182552.GA15174@ak4719.spb.edu>
Mail-Followup-To: gdal-dev@xserve.flids.com, tiff@remotesensing.org
References: <EGEELFLLNIGMPKHJFEEEIENEDBAA.larry@nuglyphix.com>
	<20040924215834.GC6123@ak4719.spb.edu>
	<6.1.1.1.0.20040927164940.02612730@pop3>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <6.1.1.1.0.20040927164940.02612730@pop3>
X-GnuPG-Key: http://www.srces.spb.org/dron/export.home.key
X-Face: "t+se9s~+y~[XUH]L|pmeO3Pt/Q@DNv**S, d@_1-C=}/,
	c%<3Qp]eu!ok<"2lYJm$!9qVcg F?7o*L; |$`6|Q|>Rt-cU%2_y@6tQ|`!Li}TsvZvEKx;
	>fuY=fc(=sX^`7Wmw8%SsR`AvM$a; 0U/eN\ P?B\FTyqD, 0np$U2!*'z_4D,
	VPlFf?bN0&zYf"zF0s!7Tl7?$we)xD0@lL>[h|8bhys0i.g|zLnu@C
	Ti@d]i=[!:j1CB\5/TF[m]`lfHfaqSN[0qn@T3zeosV/[LAss{@p_?],x*j8P_9t[}uHD^X-;
	j~\M! gyTly;fj`}&Y~i{<#bN.#QmkE}#T`dxP.I1\.)_MEN{@#W
User-Agent: Mutt/1.5.6+20040722i
X-Virus-Scanned: clamd / ClamAV version 0.75-1, clamav-milter version 0.75c
	on ak4719
X-Virus-Status: Clean
Cc: 
Subject: [Tiff] Re: [Gdal-dev] update TIFF compressed files in place
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: d1b0b76e41e97d1bb8a4862eb712aa79

On Mon, Sep 27, 2004 at 04:58:21PM +0200, Julien Demaria wrote:
> I work with CVS GDAL and play with the new feature "update TIFF
> compressed files in place" with gdalwarp ; my little tests work well
> except with a RGB file with JPEG compression :
> 
> Warning 1: JPEGLib:Application transferred too many scanlines
> ERROR 1: JPEGLib:Improper call to JPEG library in state 101
> Warning 1: JPEGLib:Application transferred too many scanlines
> ERROR 1: JPEGLib:Improper call to JPEG library in state 101
> Warning 1: JPEGLib:Application transferred too many scanlines
> 
> and the resulting file is wrong.
> 
> If I want to create a pixel interleaved file (-co INTERLEAVE=PIXEL) I have 
> another error :
> 
> Warning 1: JPEGLib:Application transferred too many scanlines
> gdalwarp: tif_jpeg.c:651: JPEGPreDecode: Assertion 
> `sp->cinfo.comm.is_decompressor' failed.
> 
> and the resulting file is all black...

Julien,

I'm not sure that JPEG codec is able to work properly with that feature,
but I will look at this.

						Andrey

PS.
I won't be available until the end of the week.

-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
