liip / LiipImagineBundle

Symfony Bundle to assist in image manipulation using the imagine library
http://liip.ch
MIT License
1.66k stars 378 forks source link

VIPS + Qualty params not working #1601

Open Baltazar5000 opened 4 months ago

Baltazar5000 commented 4 months ago

Hello.

This code doesn't work because rokka/imagine-vips doesn't have a quality option, but instead has multiple quality options for each image format.

    filter_sets:
        name:
            quality:              50

This works:

    filter_sets:
        name:
            quality:              50
            jpeg_quality:              50

Quality should work for all VIPS image formats. Please fix. Thank you!

dbu commented 4 months ago

alternatively we could enumerate all format parameters that imagine-vips expects and set each to the quality parameter. that would be consistent with the rest of the configuration.