[MapProxy] Compressing JPEG tiles in YCbCr color space?

Johannes Kröger (WhereGroup) johannes.kroeger at wheregroup.com
Tue Jun 7 03:12:38 PDT 2022


Hey folk :)

For compressing JPEG imagery it is highly useful to use the YCbCr color 
space (see e.g. Paul Ramsey's classic 
https://blog.cleverelephant.ca/2015/02/geotiff-compression-for-dummies.html 
). The compression rate is much higher.

Is this possible to setup with MapProxy when using JPEG or GeoTIFF tiles 
in a cache? I assume it uses RGB by default, at least that's what my 
googling around PIL/Pillow's default settings got me.

If not, would MapProxy still work as intended and allow a QGIS client to 
consume its output via WMS/WMTS fine if I was to reencode the tiles in 
the cache in YCbCr myself?

Cheers, Hannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x840A4B843789797F.asc
Type: application/pgp-keys
Size: 2472 bytes
Desc: OpenPGP public key
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20220607/6cfef54a/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20220607/6cfef54a/attachment.sig>


More information about the MapProxy mailing list