Hy everybody,<br><br>I have a little probleme,<br><br>I have a GTiff picture and I make a traitement on this picture, my problem appears to create the outpute picture for the moment I used the methods below and it works but by changing data to 0/255<br>
<br>hDatasetOut = GDALCreateCopy( hDriver, OutputFile, hDataset, FALSE,NULL, NULL, NULL );<br><br>But my outside data go from 0 to 6375 and I would like to create a picture with longer data,like the example below.<br><br>
hDatasetOut = GDALCreate( hDriver, OutputFile, nXSize, nYSize, 1, GDT_UInt32, papszOptions );<br><br>This methods allow me to create an image but there are problems and the data are not copied.<br><br>If someone have a solution...<br>
<br>Best regards<br><br>Nicolas<br>