<div dir="ltr">imageio_jpeg.c, around line 200: also extract alpha along with red,green,blue. if alpha=0, set pixptrs to 255 instead of *r,*g,*b.<div><br></div><div>--</div><div style>thomas</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Dec 27, 2012 at 11:36 AM, Daniele Debernardi <span dir="ltr"><<a href="mailto:daniele@geosar.ch" target="_blank">daniele@geosar.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi, <br>
I tried with your suggestion to use a mixed image format but with
unsuccessful results.<br>
For my case I just need to force that black background color to
white, is there anyplace in<br>
mapcache code where I can change it?<br>
<br>
Any suggestion on which part of the code I have to look would be
enough.<br>
<br>
Thanks,<br>
Daniele<div><div class="h5"><br>
<br>
On 19. 12. 12 12:47, thomas bonfort wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">Daniele,
<div>The background color isn't configurable, although that could
become a configurable option with a bit of funding. Your other
option might be to use a "mixed" image format, which will use
JPEG compression for complete tiles, and png with a transparent
background for tiles that are half-in/half-out.</div>
<div><br>
</div>
<div>regards,</div>
<div>thomas</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Dec 19, 2012 at 12:26 PM,
Daniele Debernardi <span dir="ltr"><<a href="mailto:daniele@geosar.ch" target="_blank">daniele@geosar.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi,<br>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;text-transform:none;font-size:15px;white-space:normal;font-family:Calibri;word-spacing:0px">there
is a possibility to change the background color of the
area outside of the extent of the cache<br>
when the tile is merged toghether?<br>
<br>
example:<br>
when i request a tile with an extent that is half
outsite the map extent and half inside, mapcache
generates<br>
a tile with the half outsite of the map with black
background and i would like to change it to white.<br>
<br>
Thanks in advance<br>
<br>
</span> </div>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">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>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>