Re: [gdal-dev] Quality boundaries for JPEG driver

2011-11-22 Thread Nicolas Mayer
Thanks a lot for your answers. Nicolas 2011/11/22 Chaitanya kumar CH > Nicolas, > > The values must be integers. They will be rounded off otherwise. In any > case, the value is just a rough indication. > > 10 and 100 are included. > > On Tue, Nov 22, 2011 at 9:18

[gdal-dev] Quality boundaries for JPEG driver

2011-11-22 Thread Nicolas Mayer
Hello everybody, I have a question about the JPEG driver. The documentation says that the quality "must be in the range 10-100". Must this value be an integer ? Are the 10 and/or 100 boundaries included in the definition range ? Thank you in advance Nicolas __

Re: [gdal-dev] GeoTiff and the 4th band

2011-04-18 Thread Nicolas Mayer
OK. Thank you very much. Nicky 2011/4/18 Even Rouault > Selon Nicolas Mayer : > > > Even, Thank you very much ! > > > > With the two creation options : PHOTOMETRIC=RGB and ALPHA=NO, I obtain > the > > same behaviour I whish. > > > > Can you explain

Re: [gdal-dev] GeoTiff and the 4th band

2011-04-18 Thread Nicolas Mayer
ly after looking more precisely at the code and a bit of testing, I > see > you can obtain the behaviour you wish by specifying both PHOTOMETRIC=RGB > and > ALPHA=NO. (ALPHA=NO only will not be sufficient) > > > > > Thank you in advance > > > > Nicky > > &g

Re: [gdal-dev] GeoTiff and the 4th band

2011-04-18 Thread Nicolas Mayer
to set to have the same color interpretations ? Thank you in advance Nicky 2011/4/18 Even Rouault > Selon Nicolas Mayer : > > Retry by setting the PHOTOMETRIC creation option to MINISBLACK. Otherwise, > by > default, without specifying it, GDAL assumes that the PHOTOMETRIC is

[gdal-dev] GeoTiff and the 4th band

2011-04-18 Thread Nicolas Mayer
Hello I have a problem with the geotiff (GTiff) driver. I create a 4-bands raster image in a c++ program. The fourth band was considered as an alpha band in the geotiff image (actually, it is near infrared : NIR) $ gdalinfo new_geotiff.tif Driver: GTiff/GeoTIFF Files: new__geotiff.tif Size is 10