jxl: use float for quality (#2930)

This commit is contained in:
Adrià Arrufat 2024-03-13 21:14:59 +09:00 committed by GitHub
parent 1529b690da
commit c26b1238df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,7 +104,7 @@ namespace dlib
void save_jxl(
const matrix_exp<EXP>& img,
const std::string& filename,
uint32_t quality = 90
const float quality = 90
)
{
array2d<typename EXP::type> temp;