in https://github.com/developmentseed/titiler/blob/d4741eb0f8f674b72d5268fba1ad1f98e3478b30/src/titiler/core/titiler/core/factory.py#L520-L521 we return either a PNG or a JPEG based on the mask, but we could also return a Webp based on the request `accept` header value (see https://github.com/developmentseed/tifeatures/blob/6def23bc57b547fda06b718f493d4d20ec369a35/tifeatures/dependencies.py#L102-L114)