[Qgis-developer] Transparency settings in qml file ignored by rasters?

Agustin Lobo alobolistas at gmail.com
Mon May 9 08:57:37 EDT 2011


Hi!

I set transparency in Properties/Transparency/Transparent pixel list as
0,0,0 100%
(i.e, 100% transparent if 0 in all 3 bands)
and save the style to a qml file that gets the following lines close to the end:
    <threeValuePixelList>
      <pixelListEntry red="0.000000" blue="0.000000" green="0.000000"
percentTransparent="100"/>
    </threeValuePixelList>

Nevertheless, when I open another raster and apply this style, the
transparency is not modified.

Is this a bug or am I doing something wrong?

Thanks

Agus


More information about the Qgis-developer mailing list