[mapserver-users] RGB imagemode creates RGBA tiffs

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Sat Mar 3 05:08:35 EST 2012


Hi,

I have defined a GeoTIFF outputformat as

OUTPUTFORMAT
  NAME GTiff
  DRIVER "GDAL/GTiff"
  MIMETYPE "image/gtiff"
  IMAGEMODE RGB
  EXTENSION "gtif"
END

However, the resulting tiff contains also alpha channel:

Band 1 Block=2120x1 Type=Byte, ColorInterp=Red
  Mask Flags: PER_DATASET ALPHA
Band 2 Block=2120x1 Type=Byte, ColorInterp=Green
  Mask Flags: PER_DATASET ALPHA
Band 3 Block=2120x1 Type=Byte, ColorInterp=Blue
  Mask Flags: PER_DATASET ALPHA
Band 4 Block=2120x1 Type=Byte, ColorInterp=Alpha

Is there something wrong in my outputformat?  Output comes from Mapserver 6.0 (Ubuntu).

-Jukka Rahkonen-


More information about the mapserver-users mailing list