Merge pull request #1331 from lovell/webp-lossless-quality
Ensure WebP quality option is set for lossless
This commit is contained in:
commit
bddbecffaf
@ -179,6 +179,8 @@ vips_webp_write_init( VipsWebPWrite *write, VipsImage *image,
|
||||
write->config.alpha_quality = alpha_q;
|
||||
write->config.method = reduction_effort;
|
||||
|
||||
if( lossless )
|
||||
write->config.quality = Q;
|
||||
if( near_lossless )
|
||||
write->config.near_lossless = Q;
|
||||
if( smart_subsample )
|
||||
|
Loading…
Reference in New Issue
Block a user