[gdal-dev] Creating JPEG compressed external overviews fails

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[gdal-dev] Creating JPEG compressed external overviews fails

jratike80

Hi,

 

This has worked for me and still works with GDAL version GDAL 2.0dev, released 2011/12/29

gdaladdo -r average -ro --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW YCBCR --config INTERLEAVE_OVERVIEW PIXEL input.tif  2 4 8 16 32 64

 

However, GDAL 2.2.0dev, released 2016/99/99 fails:

 

0...10...20...30...40...50...60...70...80...90.ERROR 1: JPEGLib:Huffman table 0x00 was not defined

ERROR 1: TIFFReadEncodedTile() failed.

ERROR 1: IReadBlock failed at X offset 0, Y offset 0

ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0

..100 - done.

Overview building failed.

 

-Jukka Rahkonen-


_______________________________________________
gdal-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Creating JPEG compressed external overviews fails

Even Rouault-2

Hi Jukka,

 

Thanks for the report. Should now be fixed per r36849. This was introduced on Nov 24th. Crazy that the hundreds of existing tests didn't catch that, so I added a new one :-)

 

Even

 

> Hi,

>

> This has worked for me and still works with GDAL version GDAL 2.0dev,

> released 2011/12/29 gdaladdo -r average -ro --config COMPRESS_OVERVIEW JPEG

> --config PHOTOMETRIC_OVERVIEW YCBCR --config INTERLEAVE_OVERVIEW PIXEL

> input.tif 2 4 8 16 32 64

>

> However, GDAL 2.2.0dev, released 2016/99/99 fails:

>

> 0...10...20...30...40...50...60...70...80...90.ERROR 1: JPEGLib:Huffman

> table 0x00 was not defined ERROR 1: TIFFReadEncodedTile() failed.

> ERROR 1: IReadBlock failed at X offset 0, Y offset 0

> ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0

> ..100 - done.

> Overview building failed.

>

> -Jukka Rahkonen-

 

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


_______________________________________________
gdal-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Loading...