tileserver-gl/src
Nathan Reed 1f5a58035b
Replace formatQuality with formatOptions for additional configurability (#1327)
* feat: replace formatQuality with formatOptions in config file

formatQuality is more flexible and allows configuration of more than just quality for all formats.
JPEG and WebP still have only their quality configurable.
PNG has all the configuration options from the sharp library exposed.

Signed-off-by: Nathan Reed <nathreed@gmail.com>

* feat: update docs for new formatOptions

Signed-off-by: Nathan Reed <nathreed@gmail.com>

* feat: allow deprecated formatQuality with logged warning

Signed-off-by: Nathan Reed <nathreed@gmail.com>

---------

Signed-off-by: Nathan Reed <nathreed@gmail.com>
2024-08-10 09:15:14 -04:00
..
healthcheck.js Extract nested functions and simplify a little (#1062) 2023-11-23 10:11:53 -05:00
main.js fix: avoid synchronous calls where possible (#1320) 2024-07-31 08:51:56 -04:00
pmtiles_adapter.js fix(deps): Bump pmtiles from 2.11.0 to 3.0.0 (#1161) 2024-02-02 22:12:26 -05:00
promises.js fix: avoid synchronous calls where possible (#1320) 2024-07-31 08:51:56 -04:00
render.js Extract nested functions and simplify a little (#1062) 2023-11-23 10:11:53 -05:00
serve_data.js fix: avoid synchronous calls where possible (#1320) 2024-07-31 08:51:56 -04:00
serve_font.js chore: convert some promises to async/await 2023-11-23 17:08:32 +01:00
serve_light.js style: fix lint issues in code 🕺 (#626) 2022-11-08 22:56:07 -05:00
serve_rendered.js Replace formatQuality with formatOptions for additional configurability (#1327) 2024-08-10 09:15:14 -04:00
serve_style.js fix: avoid synchronous calls where possible (#1320) 2024-07-31 08:51:56 -04:00
server.js fix: make consistent with tilejson endpoint (#1162) 2024-02-02 23:02:39 -05:00
utils.js fix: avoid synchronous calls where possible (#1320) 2024-07-31 08:51:56 -04:00