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

Moritz Lennert mlennert at club.worldonline.be
Fri Jul 3 04:19:44 PDT 2015


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


More information about the grass-user mailing list