[Gdal-dev] gdaladdo to jpeg compressed tif?
Matt Wilkie
matt.wilkie at gov.yk.ca
Fri Nov 25 12:59:28 EST 2005
Hello there,
Should I be able to add overviews to a jpeg compressed tif? I have a
batchfile I created a month ago which does:
for /d %%a in (0* 1*) do (
gdal_translate %%a\dem_sh %outdir%\shade_%%a.tif -co "compress=jpeg"
gdaladdo %outdir%\shade_%%a.tif 2 4 8 16
)
however now when I run it, I get errors like this:
gdaladdo -r average shade_095.tif 2 4 8 16
0...10...20...30...40...50...60...70..
Assertion failed: sp->cinfo.comm.is_decompressor,
file tif_jpeg.c, line 675
This application has requested the Runtime to terminate it
in an unusual way.
Please contact the application's support team for more information.
So either I never actually test the code above or the version I'm using
is broken (GDAL 1.3.1.0, FWTools 1.0.0a6, released 2005/11/03).
--
matt wilkie
--------------------------------------------
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------
More information about the Gdal-dev
mailing list