Hi,

I am playing with compression options and by accident used an existing image as
a target.

gdal_translate -of GTiff -co tiled=yes -co compress=jpeg q4213e.tif lzw.tif
Input file size is 12000, 12000
ERROR 1: Deleting lzw.tif failed:
Permission denied
0...10...20...30...40...50...60...70...80...90...100 - done.

It looks like gdal_translate tries to avoid overwriting but still gdalinfo shows
that the lzw.tif file is now jpeg compressed. Could it be that check is just
sending the ERROR 1 message but overwriting still happens?

-Jukka Rahkonen-

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

Reply via email to