<div dir="ltr">We might consider adding to mapserver if there's a need for it. FWIW, this feature has been in mapproxy since end of 2012, and mapcache since mid 2011.<div>Regards,</div><div>Thomas</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 June 2016 at 19:32, Jeff McKenna <span dir="ltr"><<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Forwarding interesting idea on the GeoServer-devel list.  Seems like something that would interest MapServer-ers serving through WMS as well. -jeff<br>
<br>
<br>
<br>
-------- Forwarded Message --------<br>
Subject:        [Geoserver-devel] Considering a new WMS/WMTS output format: jpeg or png (JPENG for friends)<br>
Date:   Tue, 7 Jun 2016 18:50:02 +0200<br>
From:   Andrea Aime <<a href="mailto:andrea.aime@geo-solutions.it" target="_blank">andrea.aime@geo-solutions.it</a>><br>
To:     Geoserver-devel <<a href="mailto:geoserver-devel@lists.sourceforge.net" target="_blank">geoserver-devel@lists.sourceforge.net</a>><br>
<br>
<br>
<br>
Hi all,<br>
when working with imagery it happens often enough that one wants the compression<br>
factor of a JPEG, but also transparency at the raster data edges.<br>
Unfortunately one cannot have both... or can she?<br>
<br>
With tiled maps we can introduce a new output format, which I nicknamed JPENG<br>
(JPEg or pNG) that would return the right compression depending on the tile content:<br>
if it's fully opaque, JPEG, if there is any transparency, PNG instead, of course setting<br>
the right return type headers so that the browser can do the right decoding.<br>
<br>
It's simple enough and would save significant bandwidth (and also CPU, JPEG is<br>
faster to compress) for imagery that also needs occasional transparency support.<br>
<br>
I'd add this at a WMS output format, and if time allows, WMTS too... but no guarantees,<br>
I have actually no funding backing any of this (I'm doing it for another system), but it seems<br>
quick to implement in GeoServer  too and would be a pity to lose it.<br>
<br>
Objections? Suggestions for a better name (I checked a few other variants, but they seem to be<br>
already in use on the internet with a different meaning)?<br>
<br>
Cheers<br>
Andrea<br>
<br>
<br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a></blockquote></div><br></div>