[mapserver-users] multiple transparent colours

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed May 9 09:36:15 EDT 2012


Hi,

Perhaps you cannot literally set a colour as transparent in a tiff but for sure you can define a nodata value and then applications can make nodata pixels transparent.  That is the most normal way to do it with Mapserver and OFFSITE.  I believe that Mapserver does not even care if tiff has a nodata tag set but you can give whatever value for offsite in a mapfile.

I have not played at all with alpha, but perhaps there is some way to give a list of pixel values which should be transparent and convert them all to a suitable alpha channel value.

-Jukka Rahkonen-

Fernando Norte  wrote:
Hi Christoph,

I try to understand, how did you set the specific color to transparent in a TIFF?
For raster you can set the level of transparency/opacity to the image not to a color.

Att,

Fernando Norte

Desenvolvedor SIGWeb

tel.(31) 2533.9900

cel.(31) 9119.8814

skype: fernandoglobalgeo
        [http://globalgeo.com.br/assinaturas/logo.png]

Endereço: Alameda do Ingá, 88, 6º andar, Vale do Sereno

Nova Lima/MG - CEP: 34.000-000

www.globalgeo.com.br<http://www.globalgeo.com.br/>

"O presente documento pode conter material confidencial ou seu sigilo é protegido por lei.
Quaisquer informações nele contida são destinadas exclusivamente ao(s) seu(s) destinatário(s)
não devendo em nenhuma hipótese ser repassado a terceiros".



2012/5/9 Christoph Schumacher <christoph.schumacher at pbs-schumacher.de<mailto:christoph.schumacher at pbs-schumacher.de>>
Hello everybody,

I have a problem setting up my wms.
I have multiple tiff images that have different colours to be set up as transparaent.

With the offsite parameter I can  only  set one colour transparent.

Now my question is: Is there a way to make various colour transparent??


best wishes and thank you very much

christoph


_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120509/0dfc8df5/attachment.html


More information about the mapserver-users mailing list