[Tiff] Re: [Gdal-dev] update TIFF compressed files in place
Andrey Kiselev
dron at ak4719.spb.edu
Mon Sep 27 14:25:52 EDT 2004
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 at remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
More information about the Gdal-dev
mailing list