[GRASS-user] Exporting a raster tiff with RGB 3 bands produce a paletted tiff

Andrea Peri aperi2007 at gmail.com
Fri Jul 3 05:06:58 PDT 2015


No, it was not what I expected .
I expected to see the same image I see in the grass display (using d.rgb)
Instead I see someone completelly different.

thx.

A.


2015-07-03 13:19 GMT+02:00 Moritz Lennert <mlennert at club.worldonline.be>:
> On 02/07/15 16:23, Andrea Peri wrote:
>>
>> Hi Markus,
>> thx for hint.
>>
>> I tried but probably I miss something.
>> because have an error:
>>
>>> ERROR 6: SetColorTable() not supported for multi-sample TIFF
>>> files.
>>> ....
>>> ERROR 6: SetColorTable() can only be called on band 1.
>>> ERROR 6: SetColorTable() can only be called on band 1.
>>
>>
>>
>> I defined a group named "gruppo" and insert in it the three raster I
>> like to have for the three bands.
>>
>> After I execute this command:
>>
>> r.out.gdal -f --overwrite input=gruppo
>> output=D:\temp\hpf_out_rescale2.tif format=GTiff type=Byte
>> createopt=INTERLEAVE=PIXEL,TFW=YES,PROFILE=BASELINE,COMPRESS=DEFLATE
>>
>> This is the results log:
>
>>
> [...]
>>
>> r.out.gdal completo. File <D:\temp\hpf_out_rescale2.tif> created.
>
>
> And the created file is not what you wanted ?
>
> Moritz



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------


More information about the grass-user mailing list