Re: [gdal-dev] Error when trying to compress a TIFF file

2014-08-26 Thread Hanlie Pretorius
Thanks, the r- average option improved the quality quite a bit. 2014-08-26 17:34 MGT+02:00, Even Rouault : > Selon Hanlie Pretorius : > >> Hi Even, >> >> Thanks, the gdaldo command made a huge difference to the speed with >> which QGIS works with the raster. >

Re: [gdal-dev] Error when trying to compress a TIFF file

2014-08-26 Thread Hanlie Pretorius
Hi Even, Thanks, the gdaldo command made a huge difference to the speed with which QGIS works with the raster. The image looks a bit shoddy, though, even when zoomed out. It improved when I set the quality to 100 and the file is still a tenth of the original size. Would it help to create more le

[gdal-dev] Error when trying to compress a TIFF file

2014-08-26 Thread Hanlie Pretorius
Hi, I'm trying to convert a 16 bit image to 8 bits and at the same time add JPEG compression, but gdal reports errors during the process. gdal_info for the input file is: Driver: GTiff/GeoTIFF Files: D:/SPOT 6/PS_Envi/Test_8bit.TIF Size is 30717, 28629 Coordinate System is: PROJCS["WGS 84 /

Re: [gdal-dev] GDAL translate 16 bit to 8 bit

2014-08-22 Thread Hanlie Pretorius
13:56 MGT+02:00, Cleo Drakos : > hi Hanlie, > can you tell me what value you put for -scale to convert into 8 bit? > > cleo > > > On Fri, Aug 22, 2014 at 7:02 PM, Hanlie Pretorius < > hanlie.pretor...@gmail.com> wrote: > >> Hi Even, >> >> Yes, I qu

Re: [gdal-dev] GDAL translate 16 bit to 8 bit

2014-08-22 Thread Hanlie Pretorius
:32, Hanlie Pretorius a écrit : >> Hi, >> >> I'm working with a 16 bit SPOT 6 image that I want to convert from 16 >> bit pixel depth to 8 bit pixel depth. I say 16 bit, but if I load the >> file into Envi, it reports that uses only 12 bits. However gdalinfo >

[gdal-dev] GDAL translate 16 bit to 8 bit

2014-08-20 Thread Hanlie Pretorius
Hi, I'm working with a 16 bit SPOT 6 image that I want to convert from 16 bit pixel depth to 8 bit pixel depth. I say 16 bit, but if I load the file into Envi, it reports that uses only 12 bits. However gdalinfo reports 16 bit (see below). I've manage to do so on the multispectral image, but the