<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19190">
</head>
<body>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="814262813-09052012">Hi,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="814262813-09052012"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="814262813-09052012">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.&nbsp; That is&nbsp;the most normal way to do it with Mapserver and OFFSITE.&nbsp; 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.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="814262813-09052012"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="814262813-09052012">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.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="814262813-09052012"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="814262813-09052012">-Jukka Rahkonen-</span></font></div>
<br>
<blockquote style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<div dir="ltr" lang="fi" class="OutlookMessageHeader" align="left"><font size="2" face="Tahoma">Fernando Norte<span class="814262813-09052012"><font color="#0000ff" face="Arial">&nbsp; wrote:</font></span></font><br>
</div>
<div></div>
Hi Christoph,<br>
<br>
I try to understand, how did you set the specific color to transparent in a TIFF?
<br>
For raster you can set the level of transparency/opacity to the image not to a color.
<br>
<br>
Att,<br clear="all">
<p style="MARGIN: 0px; FONT-FAMILY: Corbel,Arial,Helvetica,sans-serif; FONT-SIZE: 14px">
</p>
<p style="MARGIN: 0px"></p>
<p style="MARGIN: 0px; FONT-FAMILY: Corbel,Arial,Helvetica,sans-serif; FONT-SIZE: 14px">
<table style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 400px; PADDING-RIGHT: 0px; COLOR: rgb(51,51,51); FONT-SIZE: 12px; PADDING-TOP: 0px">
<tbody>
<tr>
<td>
<p style="MARGIN: 0px; FONT-SIZE: 16px"><b style="COLOR: rgb(28,119,155)">Fernando Norte</b></p>
<p style="MARGIN: 0px">Desenvolvedor SIGWeb</p>
<p style="MARGIN: 20px 0px 0px">tel.(31) 2533.9900</p>
<p style="MARGIN: 0px">cel.(31) 9119.8814</p>
<p style="MARGIN: 0px">skype: fernandoglobalgeo</p>
</td>
<td><img style="MARGIN: 0px; DISPLAY: block" border="0" src="http://globalgeo.com.br/assinaturas/logo.png" NOSEND="1"></td>
</tr>
</tbody>
</table>
</p>
<p style="MARGIN: 20px 0px 0px; COLOR: rgb(51,51,51); FONT-SIZE: 12px">Endereço: Alameda do Ingá, 88, 6º andar, Vale do Sereno</p>
<p style="MARGIN: 0px; COLOR: rgb(51,51,51); FONT-SIZE: 12px">Nova Lima/MG - CEP: 34.000-000</p>
<p style="MARGIN: 5px 0px 30px; COLOR: rgb(51,51,51); FONT-SIZE: 12px"><a style="COLOR: rgb(28,119,155); FONT-WEIGHT: bold; TEXT-DECORATION: none" href="http://www.globalgeo.com.br/" target="_blank">www.globalgeo.com.br</a></p>
<p style="COLOR: rgb(51,51,51); FONT-SIZE: 9px">&quot;O presente documento pode conter material confidencial ou seu sigilo é protegido por lei.<br>
Quaisquer informações nele contida são destinadas exclusivamente ao(s) seu(s) destinatário(s)<br>
não devendo em nenhuma hipótese ser repassado a terceiros&quot;.</p>
<p></p>
<p></p>
<p></p>
<br>
<br>
<br>
<div class="gmail_quote">2012/5/9 Christoph Schumacher <span dir="ltr">&lt;<a href="mailto:christoph.schumacher@pbs-schumacher.de" target="_blank">christoph.schumacher@pbs-schumacher.de</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
Hello everybody,<br>
<br>
I have a problem setting up my wms. <br>
I have multiple tiff images that have different colours to be set up as transparaent.
<br>
<br>
With the offsite parameter I can&nbsp; only&nbsp; set one colour transparent. <br>
<br>
Now my question is: Is there a way to make various colour transparent?? <br>
<br>
<br>
best wishes and thank you very much<span class="HOEnZb"><font color="#888888"><br>
<br>
christoph<br>
<br>
</font></span><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
</blockquote>
</div>
<br>
</blockquote>
</body>
</html>