[Tile-serving] [openstreetmap/mod_tile] Configurable ImageIO output format (PR #318)

Hummeltech notifications at github.com
Sun Jun 4 03:20:12 UTC 2023


Replaces #191:

> Added the possibility to provide ImageIO's output format in the TYPE string of the renderd.conf file.
> For instance:
> TYPE=png image/png
> TYPE=png image/png png256
> TYPE=png image/png png24
> TYPE=png image/png png
> 
> This should be backward compatible with existing renderd.conf files.

Also added additional tests for various image output formats:
* jpeg
* png256
* png32
* webp

Closes #64
Closes #301 
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/mod_tile/pull/318

-- Commit Summary --

  * Added the possibility to provide ImageIO's output format in the TYPE string.
  * Removed useless comments.
  * Added tests for 'webp' output format
  * Also added tests for 'png32' output format
  * Fix 'webp' sums vary based on version
  * Add JPG & use multiple layers on example-map

-- File Changes --

    M etc/renderd/renderd.conf.examples (4)
    M includes/daemon.h (1)
    M src/daemon.c (15)
    M src/gen_tile.cpp (10)
    M src/mod_tile.c (4)
    M tests/CMakeLists.txt (85)
    M tests/renderd.conf.in (24)
    M utils/example-map/index.html (59)

-- Patch Links --

https://github.com/openstreetmap/mod_tile/pull/318.patch
https://github.com/openstreetmap/mod_tile/pull/318.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/318
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/pull/318 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230603/467b79e6/attachment.htm>


More information about the Tile-serving mailing list