Hi Andrea,
Thanks for the quick answer.
Unfortunately, I don't think this meets the criteria.
Definitely this is not widespread.
I will have a look at the community modules.
Best regards,
Martin
Am 20.12.2022 um 18:10 schrieb Andrea Aime:
Hi,
thanks a lot for reaching out and contributing to the GeoServer
development. A WebP addition is quite interesting.
Can you elaborate a bit more of how the webp support is provided? That
IMHO is going to be a driver to decide where to put the webp support.
We have a precedent for native code embedded in GeoServer: both OSHI
and the SQLite drivers rely on native code, and they are part of core,
but with a few good features:
* Widely used, normally rock solid (I haven't heard of reports of
GeoServer segfaulting due to bugs in the native parts of those
libraries)
* The native portion is embedded in the jars (no extra installation
needed) and covers a wide variety of operating systems and
architectures, making them basically as cross platform as Java is
If the WebP libraries provide any reason to doubt either stability, or
are limited to a small number of platforms, or require manual
installations of native libraries, then I'd start with a community
module, which you can then graduate to extension later down the road.
Cheers
Andrea
On Tue, Dec 20, 2022 at 4:27 PM OpenDEM <cont...@opendemdata.info> wrote:
Hi, I'm Martin and I'm new to Geoserver.
I have written a class to support WebP as a new WMS image output
format. This works as expected and reduces the file size by about
one third compared to a JPEG. Since an alpha channel is also
supported, the reduction compared to a PNG is about two thirds.
All modern browsers now support WebP, for older browsers a
fallback mechanism would have to be implemented on the client side.
The implementation is based on com.github.nintha webp-imageio-core
which is not part of the GeoServer Maven repository. What is the
right way to include the dependency?
Unfortunately not all platforms are supported as native DLLs are used.
What is the right way to include the code in this case? Would an
extension be better then?
Best regards,
Martin
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
Regards,
Andrea Aime
==GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services-us <http://bit.ly/gs-services-us>for
more information.==Ing. Andrea Aime @geowolfTechnical Lead
GeoSolutions Groupphone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
https://www.geosolutionsgroup.com/ <https://www.geosolutionsgroup.com/>
http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>
-------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali
(Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati
“GDPR”), si precisa che ogni circostanza inerente alla presente email
(il suo contenuto, gli eventuali allegati, etc.) è un dato la cui
conoscenza è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a
cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato
se potesse darmene notizia.This email is intended only for the person
or entity to which it is addressed and may contain information that is
privileged, confidential or otherwise protected from disclosure. We
remind that - as provided by European Regulation 2016/679 “GDPR” -
copying, dissemination or use of this e-mail or the information herein
by anyone other than the intended recipient is prohibited. If you have
received this email by mistake, please notify us immediately by
telephone or e-mail
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel